length
functionelement
functioncount
Meta-Argument- Task
-
Create network/vpc/office
-
- VPC
- Name
- CIDR network range :- 10.0.0.0/16
-
- Internet Gateway
- Name
-
- Attach IGW and VPC :- Step a. and Step b.
-
- Subnet/labs :- 2
- count = 2
- Name: unique name : loop concept
-
- Routing table
- Internet : 0.0.0.0/0 go to igw : step b
-
- Attach the RT step e to Subnet step d
-
- $
terraform state pull
-
$
terraform workspace list
-
$
terraform workspace new dev
-
$
terraform workspace new prod
-
$
terraform workspace select prod