-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
azurerm_api_management: support recovery of soft deleted instances and enable purge on deletion by default #15871
Conversation
1336852
to
f650725
Compare
azurerm_api_mamnagement
support recovering soft deletedThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from 1 comment on the property name LGTM 🔥
internal/provider/features.go
Outdated
Default: true, | ||
}, | ||
|
||
"recover_soft_deleted_api_managements": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure we need to have api management on the end given it is in a block api_management
? and above we have a property without the post fix applying to the same type of resource?
"recover_soft_deleted_api_managements": { | |
"recover_soft_deleted": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also i wonder if the purge one should be purge_soft_deleted_on_destroy
🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, agreed on shortening the first one, the naming didn't quite sit right. For the second one, it's inkeeping with the existing equivalent property for other services so perhaps best to leave it for now.
f650725
to
dc6aadc
Compare
…d enable purge on deletion by default
dc6aadc
to
95a3471
Compare
This functionality has been released in v3.0.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes: #15865