I used a part of this ARM template in my approach to provision the ARO cluster with terraform and it works.
The issue is when I try to terraform destroy that I receive an error related to these two role assignments.
Error: removing items provisioned by this Template Deployment: deleting Nested Resource "/subscriptions/<my_subscription>/resourceGroups/<my_rg>/providers/Microsoft.Network/virtualNetworks/<my_vnet>/providers/Microsoft.Authorization/roleAssignments/4b7d3178-1fa2-5281-8e6a-7746cb4e36ef": resources.Client#DeleteByID: Failure sending request: StatusCode=0 -- Original Error: Code="NoRegisteredProviderFound" Message="No registered resource provider found for location 'westeurope' and API version '2021-05-01' for type 'roleAssignments'. The supported api-versions are '2014-04-01-preview, 2014-07-01-preview, 2014-10-01-preview, 2015-05-01-preview, 2015-06-01, 2015-07-01, 2016-07-01, 2017-05-01, 2017-09-01, 2017-10-01-preview, 2018-01-01-preview, 2018-07-01, 2018-09-01-preview, 2018-12-01-preview, 2019-04-01-preview, 2020-03-01-preview, 2020-04-01-preview, 2020-08-01-preview, 2021-04-01-preview'. The supported locations are ''."
Two things, I would like to point out:
in the template, I see the API version is 2018-09-01-preview (which is also included in the list of supported api-versions in the error)... Why does the error mention a different API version 2021-05-01...
I have the Microsoft.Authorization provider registered.
Hi,
I used a part of this ARM template in my approach to provision the ARO cluster with terraform and it works. The issue is when I try to
terraform destroy
that I receive an error related to these two role assignments.The error is:
Two things, I would like to point out:
2018-09-01-preview
(which is also included in the list of supported api-versions in the error)... Why does the error mention a different API version2021-05-01
...Please, do you have any idea what is wrong?
Thanks a lot.
Jiri