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…
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…
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…
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…
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…
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: 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…
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…
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….
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….
Using http and https proxy in terraform
For Windows environment , set the proxy property like below in dos prompt or permanently in windows environment variable. Then run terraform script, it should work. For…
Web References & Cheatsheet
Terraform Web References & Cheatsheet Amazon Web Services (AWS) Web References & Cheatsheet Kubeadm Web References & Cheatsheet Git Web References & Cheatsheet Jenkins Web References &…
Terraform Web References & Cheatsheet
How to Build Reusable, Composable, Battle tested Terraform Modules Video Slide Comprehensive Terraform Training by Yevgeniy Brikman Tutorials Slides Rajesh KumarI’m Rajesh Kumar, a DevOps, SRE, DevSecOps,…
Ansible Interview Questions and Answer – Part 7
Task to connect(SSH) Ansible to remote host using another user & run the playbook to the remote host using with another user? What is Ansible vault? How…
Ansible Interview Questions and Answer – Part 6
What is Ansible? What is Configuration Management? Is Ansible only a tool for Configuration Management? What are the components of Ansible? How Ansible works? What are the…
Ansible Interview Questions and Answer – Part 5
How can you the fact varibales in ansible? can we create an ansible module ? 83 . How can you do provisioning with ansible? 84 . BASH…
Ansible Interview Questions and Answer – Part 4
What is local action in Ansible? What are the roles in Ansible? Write a playbook for installation of apache in ubuntu and centos? How to create a…
Ansible Interview Questions and Answer – Part 3
What are handlers used for in ansible and how is it diffrent from tasks? Conditional execution in ansible is used for what purpose and write down its…
Ansible Interview Questions and Answer – Part 2
What is the purpose and location of ansible.cfg file. Name any two settings from anible.cfg file. Please write below a sample inventory file with host, group &…
Ansible Interview Questions and Answer – Part 1
What is inventory file used for and default inventory host location? What is ansible configuration file used for and its default path? Do you write your inventory…
How to create multiple AWS CloudFormation resources such as ec2 without AutoScaling group?
Some of the similar questions such as … How to do conditioning in AWS CloudFormation? How to do looking in AWS CloudFormation? No it is not possible…
Terraform Interview Questions and Answer – Set 1
External data sources must return information in what format? A. XML B. HTML C. JSON D. YAML Ans: C. JSON Which of the following is an example…
Cloudformation WordPress Mappings EC2 UserData DBInstance SecurityGroup Outputs Examle 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…
CloudFormation EC2 Parameters Mapping AllowedValues ElasticIP SecurityGroup Outputs Example 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…
Cloudformation EC2 VPC Complete Outputs WebServersetup Example 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…
CloudFormation EC2 Mapping Parameters AllowedValues Example 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…
CloudFormation EC2 Sample Example 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 Notes – October – First Week – 2019 – Bangalore
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…
