Terraform contd
Creating multiple subnets
- Lets try creating multiple subnets using loops in terraform.
- Loops can be acheived in two ways
- count
- for each
- Lets use count to create multiple subnets Refer Here
- Terraform provides functions Refer Here
- Refer Here for the changes done
Terraform for AWS
Setup for AWS
- Refer Here for AWS Provider docs
- Lets setup cli authentication in AWS
- Create an IAM User and generate access key and secret access key as shown in classroom
Activity: Create a vpc
-
Overview

-
For manual steps refer classroom video
-
vpc resource Refer Here

-
Refer Here for the changes done.
