coreos / terraform-aws-kubernetes

Install a Kubernetes cluster the CoreOS Tectonic Way: HA, self-hosted, RBAC, etcd Operator, and more
Apache License 2.0
116 stars 67 forks source link

destroy runs like apply #14

Closed christoappleton closed 6 years ago

christoappleton commented 6 years ago

The deploy kicked off fine, great work! This is a me issue but thought I would confirm, using v0.11.1 when I try to destroy it behaves like the apply, prompting for vars if not declared and refreshing state. Used a local tfstate and seems to be reflective of the env, is it possible I have an issue there or with some variable declarations? I should be able to destroy this as it is yes?

squat commented 6 years ago

This is expected behavior. Terraform will re-construct the dependency graph before deletions and to do that it needs all information pertaining to the infrastructure.