Open AdamCoulterOz opened 3 years ago
I've found the root cause is the Azure go-autorest library enforces a Retry-After: 600
header returned by the Azure Rest API (600 seconds = my 10 minute issue). However, when using the portal it makes this same request, but it ignores this RetryAfter value and retries every 5 seconds.
What would be a way to work around this until / if the appropriate Azure API team ever updates it?
Community Note
Terraform (and AzureRM Provider) Version
Terraform v0.13.5 AzureRM v2.38.0
Affected Resource
azurerm_mysql_active_directory_administrator
Terraform Configuration Files
Debug Output
https://gist.github.com/AdamCoulterOz/a0e2511fe8dfd17a50c3bf9a1d4d1f8b
Expected Behaviour
Resource
azurerm_mysql_active_directory_administrator.example
should have reported complete in <20 seconds.Actual Behaviour
Resource
azurerm_mysql_active_directory_administrator.example
reported complete in exactly 10 minutes, as it always does.Steps to Reproduce
terraform apply
Important Factoids
Portal screen shot showing user assignment has completed at 6:15:52 pm (to correlate with the attached logs):
References
7607 - original feature Issue
7621 - original feature PR
@evertonmc this might be something you can help with?