Hashicorp Packer: What are the Location we can set variable
There are two kinds of variables in HCL Packer templates: Input variables, sometimes simply called “variables”, and Local variables, also known as “locals”. Input variables may have…
Terraform Variable Example: Azure & AWS
Terraform Variable AWS Example Terraform Variable Azure Example Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world…
Terraform Tutorials: Set data type and example
set(…): a collection of unique values that do not have any secondary identifiers or ordering. Set collections are unordered and cannot contain duplicate values, so the ordering…
Terraform: Example Code for Create Multiple Azure Linux Vms
Step 1 – Install terraform Step 2 – Copy a followng code into new directory in file called “main.tf” Step 3 – Create IAM user and assign…
Terraform Project – Assignment – Exercise – Lab#4: Datasource
How to submit Assignment? Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post. Using Datasource, list out following info List of Images…
Terraform Project – Assignment – Exercise – Lab#1: Variables
How to submit Assignment? Please submit assignment @https://www.debug.school/ and POST url share in the comments of this post. Assignment – 1 Write a terraform script using aws…
Terraform Tutorial with Google Cloud – Create Single VM & Network
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform Tutorial with Google Cloud – Create Single VM
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
What is the use of Terraform in DevOps?
What is Terraform in DevOps and Its history & origin? Hi friend, today in this blog I’ll explain about Terraform in DevOps and Its history & origin…
Top 50 Terraform interview questions and answers
Q1. Are callbacks possible with Terraform on Azure? Q2. What is Terraform init? Q3. What is Terraform D? Q4. What do you understand about Terraform in AWS?…
Interview Questions & Answers for Terraform
Explain what Terraform is and how does it works What benefits infrastructure-as-code has? Why Terraform and not other technologies? (e.g. Ansible, Puppet, CloufFormation) True or False? Terraform…
Quick Tutorials of Hashicorp Packer
Packer AWS – Builders & Provisionars – aws-ubuntu.pkr.hcl Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world…
Hashicorp Certified Terraform Associate Training & Exam
Hello folks, below you can find all the details regarding Terraform training & certification, if you have done infrastructure deployment like creating a server, installing applications, and…
Terraform looping using lists-and-maps-with-for with example
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform looping using for-each-for-resources with example
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform interpolation explained with example programs
What is interpolation? Interpolation is the estimation of a value or set of values based on their context. In other words, Interpolation is a useful mathematical and…
Terraform Implicit and Explicit Dependencies
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform Output Variable Tutorials with Example
Terraform will store hundreds or even thousands of attribute values for all the defined resources in our infrastructure in state file. An outputed attributes can not only…
Terraform Tutorials: Variables – Data Type – Boolean
The last of the available variable types is boolean. They give the option to employ simple true or false values. For example, you might wish to have…
Terraform Tutorials: Variables – Data Type – Map
In this example, the instance_tags variable is defined with a type of map(string), and it is given a default value of { Name = “my-instance” }. The…
Example of terraform terraform.tfvars
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform variable using TF_VAR environment variables example
How to set Terraform Variables in Windows? Terraform will read environment variables in the form of TF_VAR_name to find the value for a variable. For example, the…
Terraform variable using anyotherfile.tfvars example
This example shows how to keep Terraform variable values in a custom file such as anyotherfile.tfvars and load it with terraform apply -var-file=”anyotherfile.tfvars”. Unlike terraform.tfvars, a file…
Terraform variable using command line example
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
Terraform Tutorials: Variables – Data Type – String
In this example, the instance_name variable is defined with a type of string, and it is given a default value of “my-instance”. The AWS provider is then…
Terraform Example Code for Hello world Program
Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked…
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…
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…
Terraform Error: Invalid reference
Solution: Declare variable with var. such as name = “${var.reponame}” instead of name = “${reponame}” Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I…
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 Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical…
