hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.52k stars 4.6k forks source link

LRO using Azure SDK Track1 forgets to wait #15641

Open magodo opened 2 years ago

magodo commented 2 years ago

There are quite a few places in the codebase that uses the Azure SDK Track1 that forgets to wait for completion of a LRO.

With the help of https://github.com/magodo/terraform-provider-azurerm-lro, we have below list. This issue is only for tracking purpose, each item shown below should be fixed in a dedicated issue.

Not all of the below items are coding mistakes, since some of them are intentially not calling the wait for LRO, which might due to API issues or Swagger mis-configuration, while for this case we still want to ensure a comment right above the LRO to indicate the reason, with a Github issue link to the https://github.com/Azure/azure-rest-api-specs.

apimanagement

automation

network

cosmos

iothub

keyvault

lighthouse

mariadb

mssql

mysql

netapp

notificationhub

privatedns

recoveryservices

resource

signalr

spingcloud

sql

synapse

web

katbyte commented 2 years ago

@magodo i think many of the checks can be checked off now?

magodo commented 2 years ago

@katbyte I've marked the merged one to checked and removed (line through) some closed one due to resource being deprecated. While some checks are remain open as the PRs are closed due to other consideratins (e.g. netapp).

ms-henglu commented 2 years ago

https://github.com/hashicorp/terraform-provider-azurerm/pull/15698 https://github.com/hashicorp/terraform-provider-azurerm/pull/15717