DevOps(Day 90) : Create an Internet Gateway using terraform - (entire infrastructure through Terraform - part4)

 

  • AIM

  • Subtasks:

    • Task 4: Create an Internet Gateway

Build Your Own AWS Infrastructure with Ease using Infrastructure as Code (IaC) Techniques

Welcome back to our Terraform journey.

In the previous tasks, you have learned about the basics of Terraform, its configuration file, and creating an EC2 instance using Terraform. Today, we will explore more about Terraform and create multiple resources.

  • Create an Internet Gateway (IGW) and attach it to the VPC.

    1. Create a internetgateway.tf file and define the internet gateway with the required configurations to attach it to VPC

    2. Use terraform apply to create the internet gateway.

    3. We can verify the internet gateway that is created in AWS console.

Thanks for reading my article. Have a nice day.

Comments

Popular posts from this blog

DevOps(Day-97): Meta-Arguments in Terraform

DevOps(Day-95): Auto Scaling with Terraform

DevOps (Day-1) Introduction