Skip to main content

Clear terraform state

Here is how you can empty your state:

terraform
for resource in $(terraform state list); do
terraform state rm $resource
done