Choose a region, everything will be created in that region
This will create 3 objects:
- A codebuild role with Administrator access
- An S3 bucket where the Terraform tfstate file will be saved
- A codebuild project that will run the code (Terraform Resources)
To do this it is necessary click on the “Start the build" (blue button) inside codebuild.
This will trigger the creation of the resources in the environment.
Take a look to the CloudWatch logs and verify that everything is green in codebuild.
- Click on "Start the build" (Blue button)
- Change the destroy variable to True
- Click on "Start the build" (Blue button)
- Empty or delete the S3 bucket
- Delete the cloudformation template/stack