post image January 7, 2022 | 1 min Read

Destroy terrafrom project -backend-config

export AWS_SECRET_ACCESS_KEY="..."
export AWS_ACCESS_KEY_ID="..."
export AWS_DEFAULT_REGION="us-west-2"
export TF_VAR_project_name=hruska
cd terraform/k3s
terraform init -backend-config="path=/home/jantoth/Documents/sbx/ml/data/hruska/terraform.tfstate"
terraform destroy
author image

Jan Toth

I have been in DevOps related jobs for past 6 years dealing mainly with Kubernetes in AWS and on-premise as well. I spent quite a lot …

comments powered by Disqus