Closed RSM-THU closed 4 months ago
👍
@RSM-THU Thanks for reporting this. Validation for resource providers is done by querying the available resource providers from the Resource Manager API when the AzureRM provider is initialized. I checked and it looks like this API is now including the Github.Network
RP in its response, so I believe this should now be resolved.
In the event that a resource provider is not yet published by Microsoft, you can set the ARM_PROVIDER_ENHANCED_VALIDATION=false
environment variable to disable this validation. There is no direct provider property for this setting as this is a workaround and not a recommended solution in the longer term - we recommend you only use this as necessary until the Resource Manager API has been updated accordingly.
Since it looks like this should now be working for you, I'm going to close this issue for now, but if you are still experiencing this validation error, please let us know and I'll reopen it for further investigation. Thanks!
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. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Is there an existing issue for this?
Community Note
Terraform Version
1.6.6
AzureRM Provider Version
3.103.1
Affected Resource(s)/Data Source(s)
azurerm_resource_provider_registration
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The resource provider "Github.Network" should be installed
Actual Behaviour
I receive an error stating that this is not a support resource provider.
I guess that this is due to this resource provider being newly released (2024-04-02).
Steps to Reproduce
No response
Important Factoids
No response
References
No response