
This blog post is going to be a comprehensive guide on managing the AWS IAM User, IAM Roles and IAM Policies using Terraform. Managing IAM Users, Roles and Policies are always crucial from a security perspective. Proper management of the IAM User, IAM Roles and IAM Policies can really improve the operational burden as …
Read More
Table of Content Why someone need to split the terraform main.tf into multiple files? How to split the main.tf file: A Step-by-Step Approach 2.1 Identify Resources and Data Sources 2.2 Create Separate .tf Files for Resources and Data Sources 2.3 Migrate Resource and Data Source Blocks into individual .tf files 2.4 …
Read More
- Terraform Variables Variables are an important part of Terraform because they let users change settings and make them more flexible and reusable. You can avoid hardcoding values in your Terraform configuration files by using variables. This makes your code more flexible. In this blog post we will focus on how to use …
Read More
- Introduction Infrastructure as code (IaC) is a key part of gaining efficiency, scalability, and manageability in the rapidly changing tech world of today. Many DevOps teams now use Terraform, which is a famous IaC tool. The Terraform lookup function for dynamic keys has become a powerful way to improve your IaC …
Read More
This blog post will guide you on how to use Terraform-Provisioners to copy/upload files to EC2 as well as the S3 bucket. Table of Content Pre-requisites Setup AWS credentials in the Terraform file Setup an EC2 instance, a security group, and SSH key pair resources. Use file provisioner to upload the file to EC2 Upload …
Read More
In this blog post we will take a look on how to fix the issue of Error: Creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is Invalid Error: creating EC2 Subnet: InvalidSubnet.Range: The CIDR '100.1.1.0/24' is invalid Table of Content Introduction Understanding the Error InvalidSubnet.Range Error …
Read More
I got stuck with the error InvalidParameter: Security group sg-08e153383fca86934 and subnet subnet-00e3adcfceb3cf8ee belong to different networks when I was working on one of AWS project where I need to set-up following using Terraform - VPC Subnet Internet Gate, NAT Route Table EC2 Instance Security group Here is …
Read More
Ansible for Beginners: Learn the Fundamentals of IT Automation - Part 1 Ansible Installation: The Windows, Ubuntu, CentOS, and macOS Guide - Part 2 Ansible Project Structure: A Beginner's Guide to Inventory, Hosts, Roles, and Tasks - Part 3 Securing Ansible with SSH Keys: A Comprehensive Guide - Part 4 Ansible & …
Read More
Managing strings in Terraform can be a bit tricky, but with the right techniques and tools, it can be done with ease. One of the most important things to keep in mind when working with strings in Terraform is to properly format them. This means using proper indentation, spacing, and line breaks to make the code more …
Read More
The "depends_on" meta argument in Terraform is used to specify dependencies between resources within a Terraform configuration. This allows Terraform to properly order the creation, modification, and destruction of resources, ensuring that dependent resources are created or modified only after the resources …
Read More