GSA-TTS / datagov-brokerpak-eks

Broker AWS EKS instances using the OSBAPI (eg from cloud.gov)
Other
9 stars 7 forks source link

Make `terraform destroy` reliable #88

Closed mogul closed 2 years ago

mogul commented 2 years ago

Introduce dependencies that enable reliable terraform destroy.

Note the depends_on in k8s-network-policy.tf introduces an explicit dependency between code in the provision-aws and provision-k8s modules. See the comment on that commit for discussion.

Related to https://github.com/gsa/data.gov/issues/3617

mogul commented 2 years ago

Apparently adding additional dependencies between the AWS and k8s portions of the provision made it... faster?!