This repository has been archived by the owner on Nov 14, 2020. It is now read-only.
Can not delete database because of dependency on ECS #37
Comments
|
Why is the database creation dependent on the ECS service? That feels like the wrong way round to me. Surely the ECS service wants the database to be created first so that it can use it? Changing the dependency around would automatically fix this as Terraform would know that it needs to destroy the ECS service first (freeing connections to the database) before destroying the database. |
@boskiv I allow myself to close this issue based on @tomelliff 's comment (thanks @tomelliff for your help). Feel free to open it back if we missed something. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi there,
Terraform Version
Affected Resource(s)
Please list the resources as a list, for example:
If this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.
Terraform Configuration Files
Debug Output
When I try to destroy terraform i have got an error:
Expected Behavior
Database deletes after ECS Service
Actual Behavior
Database deletes before ECS Service
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:
terraform destroy
The text was updated successfully, but these errors were encountered: