DevOps(Day 89) : Create a public subnet using terraform - (entire infrastructure through Terraform - part3)
TABLE OF CONTENTS
AIM
Subtasks:
Task 3: Create a public subnet
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 3: Create a public subnet
Create a public subnet with CIDR block 10.0.2.0/24 in the above VPC.
Similarly, in the subnet.tf file that we created above define the public subnet block.
Use terraform apply to create the public subnet.
We can verify the subnet creation in the AWS console.
Thanks for reading my article. Have a nice day.
Comments
Post a Comment