-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
feature: support aws_vpc_ipam
cascade
for easier deletes
#23714
Comments
aws_vpc_ipam
cascade
for easy deletsaws_vpc_ipam
cascade
for easier deletes
Anybody working on this? |
@BigMikes not me! At least not for a couple weeks based on priority |
Hello @drewmullen , |
You're 100% correct. The option has very low use-case. In fact, I would personally use the cli command instead if i wanted to use cascade. I considered not opening the issue but ended up opening it because it is a feature of the API and there is a usecase, just a small one.
No if the feature is included in the provider then it should mimic the API behaviors. Scopes are not the only resource that can be a blocker to deleting: pools, provisioned CIDRs in those pools, or allocations to VPCs can also be a hinder an IPAM deletion. |
Thanks for you reply!
Ok if I understand correctly, for the acceptance test, creating a scope by api (to create a potential deletion blocker) is ok but not enough as all blockers should be part of the test. |
Oh, i'm sorry I misunderstood! Yes an extra scope is a perfectly valid test of the functionality! You should only need to test 1 type so Scope is valid |
Thanks for your input, tried to do something consistent |
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. |
Community Note
Description
AWS IPAM released a new argument
cascade
which works like aforce_delete
. Add argument to the resource schemaDefault should be false
New or Affected Resource(s)
Potential Terraform Configuration
References
The text was updated successfully, but these errors were encountered: