You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following command works: terraform import azurerm_api_management_custom_domain.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/customDomains/default
But I am not 100% sure whether we should update it in the documentation, or update the import functionality in the code (as /customDomains/default does not seem anything from Microsoft's side.
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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!
ghost
locked as resolved and limited conversation to collaborators
Jan 3, 2021
Community Note
Terraform (and AzureRM Provider) Version
Affected Resource(s)
azurerm_api_management_custom_domain
Terraform Configuration Files
Panic Output
Expected Behaviour
The custom hostnames of the Api Manager resource should be successfully managed by the new resource
azurerm_api_management_custom_domain
Actual Behaviour
I get an error when following the documentation:
Steps to Reproduce
terraform import azurerm_api_management_custom_domain.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1
Important Factoids
The following command works:
terraform import azurerm_api_management_custom_domain.example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.ApiManagement/service/instance1/customDomains/default
But I am not 100% sure whether we should update it in the documentation, or update the import functionality in the code (as
/customDomains/default
does not seem anything from Microsoft's side.References
azurerm_api_management_custom_domain
#8228The text was updated successfully, but these errors were encountered: