Document

SUBSCRIBE TO GET FULL ACCESS TO THE E-BOOKS FOR FREE 🎁SUBSCRIBE NOW

Professional Dropdown with Icon

SUBSCRIBE NOW TO GET FREE ACCESS TO EBOOKS

Category Uncategorized

Terraform – dynamic blocks

Terraform – dynamic blocks      Dynamic Blocks are more or less another way to implement for a loop. Here are a few facts  dynamic block which you should keep in mind – Collections – You need to have collections .e.g. – list, map, set Iterator – To create a dynamic…

Terraform – Locals

Terraform – Locals        1. Terraform Locals  Before we try to understand the Terraform locals take a step back and try to compare terraform locals with a normal local variables declared inside the function, so any local variable present inside…

Terraform- Variables

Terraform- Variables    Terraform supports different type of variables Strings Maps Lists Boolean Strings Example – single line provider “aws”{ profile = “rprofile” region = “ap-south-1” } variable “firststring” { type = string default = “this is my first string”…

Terraform state file on S3

Terraform state file on S3       Below script in terraform to store the state file in s3 bucket.   terraform {  backend “s3″{    bucket =”tstate09”    key = “key/terraform.tfstate”    region=”us-east-1″  }}

Terraform providers resources

Terraform providers resources     Terraform Blocks This block can be called in 3 ways. All means the same. Terraform Block Terraform Settings Block Terraform Configuration Block Each terraform block can contain a number of settings related to Terraform’s behavior. NOTE:- Within…

Terraform Blocks

Terraform Blocks     Understand about Terraform Top-Level Blocks Terraform Settings Block Provider Block Resource Block Input Variables Block Output Values Block Local Values Block Data Sources Block Modules Block

Terraform Workflow

Terraform Workflow Step-01: Introduction Understand basic Terraform Commands terraform init terraform validate terraform plan terraform apply terraform destroy Step-02: Review terraform manifest for EC2 Instance Pre-Conditions-1: Ensure you have default-vpc in that respective region Pre-Conditions-2: Ensure AMI you are provisioning exists in…

Terraform Language Basics

Terraform Language Basics Terraform expects native syntax for files named with a .tf suffix. Files with tf extenstion is called terraform configuration files or Manifest files There is also a JSON-based variant of the language that is named with .tf.json…

Terraform -AWS Installation

Terraform -AWS Installation Install awscli for Linux curl “https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip” -o “awscliv2.zip” unzip awscliv2.zip sudo ./aws/install aws –version Aws Configuration (rprofile is the name of the profile) aws configure  aws iam list-users  Install Terraform on ubuntu curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add…

Terraform OverView

Terraform Overview   Terraform Overview Infrastructure as Code You describe your infrastructure using Terraform’s high-level configuration language in human-readable, declarative configuration files. This allows you to create a blueprint that you can version, share, and reuse. Execution Plans Terraform generates…