AWS Certified Solutions Architect Associate Explained.

The AWS Certified Solutions Architect – Associate Examination is intended for those individuals who perform a Solutions Architect role and having hands-on experience using compute, networking, storage, and database AWS…

Read more »

How to Download and Install Mysql in Macos 10

Step 1 – Download a DMG package from here https://dev.mysql.com/downloads/mysql/ Step 2 – Download a DMG package from here Click on DMG file and again you get .pkg file. Step…

Read more »

Python Tutorials: List of python3 Options and arguments command lines

usage: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 [option] … [-c cmd | -m mod | file | -] [arg] … Options and arguments (and corresponding environment variables): -b : issue warnings about str(bytes_instance), str(bytearray_instance) and…

Read more »

Python Tutorials: List of Python Environment Variables

Here are important environment variables, which can be recognized by Python − Sr.No. Variable & Description 1 PYTHONPATHIt has a role similar to PATH. This variable tells the Python interpreter…

Read more »

Terraform Project – Assignment – Exercise – Lab#2: Modules

How to submit Assignment? Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post. Project 1 – Create a terraform Module in which you create a…

Read more »

Terraform Project – Assignment – Exercise – Lab#3: Mixed

How to submit Assignment? Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post. Exercise 1 – Write a terraform configuration file to create a EC2-Instance(RHEL7.5)…

Read more »

Bootstrap Tutorial

What is Bootstrap? Bootstrap is a open-source framework for building websites and web applications. That means the bootstrap is fully responsive framework and support any devices which contains HTML, CSS…

Read more »

Terraform workspace explained!!!

What is Terraform workspace? Have you worked with terraform workflow? such as terraform init/plan/apply/destroy with terraform configuration file? If Yes, you already have worked with Terraform workspace. YES. Thats a…

Read more »

Terraform Advance Workflow loop explained!!!

validate – Validates the Terraform files init – Init. Initialize the (local) Terraform environment. Usually executed only once per session. providers – Prints a tree of the providers used in…

Read more »

Decide factor to write Terraform Module or not?

Terraform modules are reusable configuration units. They let you manage pieces of infrastructure as a single package you can call and define multiple times in the main configuration for a…

Read more »

Terraform Environment Variables Exaplained!

Terraform has many environment variables which can be used to customize various aspects of its behavior of terraform. However all are optional, i.e None of these environment variables are required….

Read more »

How to declare a local & global variable in PHP?

Local Variable:- Local Variables mean local is declared inside a function. Its value applies in any function. When local variable value modified in one function then changes not apply in…

Read more »

Terraform Tutorials: Variables – Data Type – List

In this example, the security_groups variable is defined with a type of list(string), and it is given a default value of [“default”]. The AWS provider is then configured to use…

Read more »

Terraform Tutorials: Variables – Data Type – Number

In this example, the instance_count variable is defined with a type of number, and it is given a default value of 1. The AWS provider is then configured to use…

Read more »

Terraform: run code after resources is created using using remote-exec provisioners

The chef, file, local-exec, puppet, remote-exec, provisioner invokes a script on a remote resource only after it is created. Thus, if you add provisioner code after “terraform apply”, it would…

Read more »

Terraform Error: Invalid reference

Solution: Declare variable with var. such as name = “${var.reponame}” instead of name = “${reponame}”

Read more »

Terraform Error: Invalid variable name

Solution You must not use following variables. These names are reserved for meta-arguments in module configuration blocks, and cannot be declared as variable names. source version providers count for_each lifecycle depends_on locals

Read more »

Terraform Error: Failed to read ssh private key: no key found

Solutions private_key – The contents of an SSH key to use for the connection. These can be loaded from a file on disk using the file function. This takes preference…

Read more »

Terraform Tutorials: How to do Loop / Iterate in Terraform?

Resources Resources are the most important element in the Terraform language. Each resource block describes one or more infrastructure objects, such as virtual networks, compute instances, or higher-level components such…

Read more »

Understanding local-exec provisioner in terraform

Terraform Provisioners can be used to do specific actions on the local machine or on a remote machine in order to prepare servers or other infrastructure resources. Provisioners can be…

Read more »