-
Notifications
You must be signed in to change notification settings - Fork 56
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
for delete
type LRO, the poller does not really check lro result
#2696
Comments
@ziyeqf would you be able to clarify this/provide Requests/Responses so that we can determine the issue for this one? |
for the DELETE
operation
operation result
|
Hey @tombuildsstuff, I may used wrong examples. For the |
Hey @tombuildsstuff, to bubble this up. these operations have been marked as |
Checking through here, I suspect this'll be fixed by/as a part of hashicorp/go-azure-sdk#307? |
gave it a try by running For this issue, we might need to check the LRO result and then checking the |
For some resources, the delete lro may not finish even if GET on the resource is returned with 404. Can we take use of the LRO on deletion too?
For example:
1.
azurerm_backup_protected_vm
: Though it's not using new base layer poller, it shows even GET on the resource is returned 404, the delete call may not finish.https://github.com/hashicorp/terraform-provider-azurerm/blob/1ed1fed382151d7e7ea559ca6d8deb4a0ebe5c02/internal/services/recoveryservices/backup_protected_vm_resource.go#L333
FrontendsInterface
ofservicenetworking
Swagger (this RP is not included in pandora config now, I just generated sdk code to develop locally)poller code: https://github.com/hashicorp/terraform-provider-azurerm/blob/99e4874b4f0c8b91101ec2ecb30d2e97be5c1a8b/vendor/github.com/hashicorp/go-azure-sdk/sdk/client/resourcemanager/poller_delete.go#L27
The text was updated successfully, but these errors were encountered: