When importing an Azure App Service Plan, using the resource ID copied from Azure Resource Explorer:
terraform import azurerm_app_service_plan.app "/subscriptions<mysubscriptionId>/resourceGroups<myresoureegroup>/providers/Microsoft.Web/serverFarms/<myAppServicePlan>"
I got the error:
Error: parsing Resource ID "XXX": ID was missing the `serverfarms` element
Note serverfarms is case sensitive and should all be lower case, wherease Azure Resource Explorer is camelCase.
No comments:
Post a Comment