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

Route 53 Hosted Zones

Route 53 Hosted Zones provider “aws” {  region = “us-east-1”}module “zones” {  source  = “terraform-aws-modules/route53/aws//modules/zones”  version = “~> 2.0”  zones = {    “terraform-aws-modules-example.com” = {      comment = “terraform-aws-modules-examples.com (production)”      tags = {       …

Terraform Autoscaling

Terraform Autoscaling     variables.tf variable “count1” {    default = 1  }variable “region” {  description = “AWS region for hosting our your network”  default = “us-east-1”}variable “key_name” {  description = “Key name for SSHing into EC2”  default = “newkey”}variable…

Terraform VpcModule

Terraform VpcModule   # Create VPC Terraform Module module “vpc” {   source  = “terraform-aws-modules/vpc/aws”   version = “2.78.0”     # version = “~> 2.78”     # VPC Basic Details   name = “vpc-dev”   cidr = “10.0.0.0/16”   …

Terraform VPC Without Module

Terraform VPC Without Module     Create VPC with its components Step by Step provider “aws” { region = “ap-south-1” } # Main VPC # resource “aws_vpc” “main” { cidr_block = “10.0.0.0/18” tags = { Name = “Main VPC”…

Terraform VPC

Terraform VPC     Design AWS VPC using AWS Management Console Step-01: Introduction Create VPC Create Public and Private Subnets Create Internet Gateway and Associate to VPC Create NAT Gateway in Public Subnet Create Public Route Table, Add Public Route…

Terraform Modules

Terraform Modules     Terraform Modules Module will help you to organize your terraform configuration so that you can re-use the configuration and keep your terraform code more clean and modular. As you manage your infrastructure with Terraform, you will…

Terraform IAM

Terraform IAM     Resource: aws_iam_group_policy Provides an IAM policy attached to a group. Example Usage resource “aws_iam_group_policy” “my_developer_policy” { name = “my_developer_policy” group = aws_iam_group.my_developers.name # Terraform’s “jsonencode” function converts a # Terraform expression result to valid JSON syntax.…

Terraform RDS

Terraform RDS    RDS resource “aws_db_instance” “default” { allocated_storage = 10 engine = “mysql” engine_version = “5.7” instance_class = “db.t3.micro” name = “mydb” username = “foo” password = “foobarbaz” parameter_group_name = “default.mysql5.7” skip_final_snapshot = true allocated_storage = 20 max_allocated_storage =…

Terraform Workspace

Terraform Workspace   Terraform worksapces is a very logical concept where you can have multiple states of your infrastructure configuration. To put this in simple words if you are running an infrastructure configuration in development environment then the same infrastructure can…

Terraform Provisioner

Terraform Provisioner     Terraform Provisioners Provisioners are used to performing certain custom actions and tasks either on the local machine or on the remote machine. File Provisioner Example1(Amazon EC2) – Upload the file to an EC2 instance provider “aws”…