Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_before_destroy cannot be added without updating a resource #25473

Closed
jbardin opened this issue Jul 3, 2020 · 1 comment · Fixed by #26343
Closed

create_before_destroy cannot be added without updating a resource #25473

jbardin opened this issue Jul 3, 2020 · 1 comment · Fixed by #26343
Labels
bug core v0.13 Issues (primarily bugs) reported against v0.13 releases

Comments

@jbardin
Copy link
Member

jbardin commented Jul 3, 2020

If a resource needs to have create_before_destroy in order to be properly destroyed, but it was not originally configured with this option, there is no way to easily add this option before destroying the resource.

Currently the only way to store a new state for the resource is to trigger an update. However, if the resource does not have any attributes which can be trivially updated, then it becomes more difficult to destroy the resource with the correct ordering.

It's likely that the attribute can be added to the state during refresh, in the same manner that was done for stored dependencies.

@ghost
Copy link

ghost commented Oct 25, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked as resolved and limited conversation to collaborators Oct 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug core v0.13 Issues (primarily bugs) reported against v0.13 releases
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants