Skip to content

Delete the environment

If you wish to delete the environment you created, follow the instructions below.

Delete the application stack

terraform destroy

Delete the infrastructure stack

We will use terraform destroy to delete all the stacks, but we also need to manually delete the AWS S3 bucket that was created by the remote_state stack.

terraform destroy

Delete the remote state stack

terraform destroy

Manually delete the S3 bucket

Go to the guides document to learn how to delete the S3 bucket.