...
- Extract the attached zip file (see Files section).
This will create a terraform-docker-demo-2/ folder. Go to the working directory for this project
Code Block language bash title Go to the working directory for this project cd terraform-docker-demo-2/
Initialize Terraform
Code Block language bash title Initialize Terraform terraform init
Run a Terraform plan, saving the output file
Code Block language bash title Run a Terraform plan, saving the output file. terraform plan -out wordpress.out
Run terraform-compliance to validate that the Wordpress service has an external port set to 8081
Code Block language bash title Run terraform-complance to validate Wordpress external port terraform-compliance --features features --planfile wordpress.out
...