begriffs/microservice-template

Terraform destroy dies with error

Opened this issue · 1 comments

Error applying plan:

1 error(s) occurred:

* Network vpc-xxxxxxxx has some mapped public address(es). Please unmap those public address(es) before detaching the gateway. (DependencyViolation)

Terraform does not automatically rollback in the face of errors.
Instead, your Terraform state file has been partially updated with
any resources that successfully completed. Please address the error
above and apply again to incrementally change your infrastructure.

Caused by hashicorp/terraform#357

For a workaround it looks like I can call destroy twice in my makefile.