Skip to main content

1.4 Destroy Stack

Youtube ๐Ÿ“บ

Let's destroy this insecure app as we'll now build security ground up

๐Ÿช“ Terraform Destroyโ€‹

  • In the terminal fire the below commands
cd ~/playground/infra
export AWS_PROFILE=admin
terraform destroy --auto-approve

โŒ Deleting Chapter 1โ€‹

  • Its extremely important that we get rid of all the files in the playground as we'll be bootstrapping security from ground up
cd ~
find ~/playground -mindepth 1 -delete
End of Chapter 1

That completes the Chapter 1, before you move to Chapter 2

  • Ensure that you've understood the threats the currently exist in your 4 C's i.e. Code,Container,Cluster and Cloud.
  • Ensure that your entire infrastructure was properly destroyed.
  • Ensure that your playground folder is empty and that you've followed above step to delete. the contents.