DevOps(Day 87) : Creating a VPC using terraform - (entire infrastructure through Terraform - part1)
TABLE OF CONTENTS
AIM
Subtasks:
Task 1: Create a VPC
AIM
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.
Subtasks:
Task 1: Create a VPC
Create a VPC (Virtual Private Cloud) with CIDR block 10.0.0.0/16
Create a vpc.tf file and mention the required CIDR block with the name tag of VPC.
Below are the prerequisites for building any aws infrastructure is to define providers.
Execute terraform apply to build the VPC.
We can check in the AWS console for the new VPC created with name as "main".
Thanks for reading my article. Have a nice day.
Comments
Post a Comment