Just for demostration, this step will:
- Configure an apache2 http server on network 'master' and subnet 'master-subnet-01'
- Open port 80 on firewall for this http server
cd ../environments/master
terraform init
terraform plan
terraform apply
terraform destroy
Once you have tested your app (in this example an apache2 http server), you can promote your configuration to prodution. This step will:
- Configure an apache2 http server on network 'prod' and subnet 'prod-subnet-01'
- Open port 80 on firewall for this http server
cd ../prod
terraform init
terraform plan
terraform apply
terraform destroy