Run the following command to export the environment variables needed for teardown:
export REGION=<Terraform Cluster Region>
export CLUSTER=<Terraform Cluster Name>
Because the EBS volumes used by Portworx were created out-of-band to Terraform, run the script below to remove these resources
./detach-and-delete-volumes.sh
Because the AWS IAM Policy for CSI was created out-of-band to Terraform, navigate to the AWS Console --> IAM --> Cluster Name to remove the CSI policy
export AWS_DEFAULT_REGION="us-west-2"
export AWS_PROFILE=110465657741_Mesosphere-PowerUser
terraform destroy