-
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
Flaky creation of management groups: "The resource type 'operationResults/asyncOperation' could not be found in the namespace 'Microsoft.Management' for api version '2018-03-01-preview' #14558
Comments
According to the error, the supported API versions are: |
Thanks for opening this issue. Digging into this, this appears to be an issue in the upstream API which should be resolved by #14635. Thanks! |
This functionality has been released in v2.90.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! |
@Andrei-Predoiu it working for you?? do you have this behavior? |
@crower19 I had the behavior. Did an upgrade of the provider to 2.90.0. It works! |
Hello there, I encountered the same problem. After the upgrade to 2.90.0 it no longer crashes but the process of creating ManagementsGroups never ends.
|
@zahaim have your tried applying giving it a different management group id? When I changed the id of the management group it ran trough. |
@BowBart I use This is how I create the resource:
|
@zahaim I mean the name in this case, which is used as a unique in your tenant I believe. I also first had the long creation time, perhaps because continuous removing and creating. When I changed the group to a different name it worked! |
@BowBart ah, ok. Actually, something must have changed on Azure side as today I'm able to create / delete / create the same management groups without problems. I guess it depends on the load on Azure or something. Anyways, thanks for the tip! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Terraform (and AzureRM Provider) Version
terraform 1.1.0
azurerm 2.88.1
Bug is also observed on 2.87, untested on 2.80
Affected Resource(s)
azurerm_management_group
Terraform Configuration Files
Debug Output
Panic Output
Expected Behaviour
The group should be created and the build should succeed.
Actual Behaviour
about 1 out of 5 times the plan application fails with the following error:
Steps to Reproduce
terraform apply
Important Factoids
We are running in westeurope
skip_provider_registration is not enabled
References
The text was updated successfully, but these errors were encountered: