-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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_cognitive_deployment - add locks to parent resource to prevent 409 error for deletes #22940
Conversation
defer unlock
Hi @aochsner , thanks for the contribution. Did you receive 409 error when using read operation? Normally we don't need lock around read function because reading a resource won't change its state. I will handle the delete one with a seperate PR. |
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 @aochsner - One comment to address below and I think we're good to go.
Thanks!
Co-authored-by: jackofallops <[email protected]>
@jackofallops Thanks! @liuwuliuyun not seeing it on Read...just Create & Delete |
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 @aochsner, we're nearly there.
Co-authored-by: stephybun <[email protected]>
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.
Looks good, thanks @aochsner 🌈
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. |
defer unlock
Fixes #22939