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
Resource creation is stuck waiting for resource creation even though the resource is already created. This happens when the web app and the service plan are in different resource groups. This is because the certificate is force created in the app service plan resource group by ARM even if the resource group specified is that of the app.
This needs to be fixed by looking up the resource group of the app service plan, and specifying that as the resource group of the certificate explicitly. If this isn't don't, ARM does it implicitly anyway, which is why the created certificate resource isn't found.
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 9, 2021
Versions
Terraform v0.13.5
Affected Resource
azurerm_app_service_managed_certificate
Problem
Resource creation is stuck waiting for resource creation even though the resource is already created. This happens when the web app and the service plan are in different resource groups. This is because the certificate is force created in the app service plan resource group by ARM even if the resource group specified is that of the app.
This needs to be fixed by looking up the resource group of the app service plan, and specifying that as the resource group of the certificate explicitly. If this isn't don't, ARM does it implicitly anyway, which is why the created certificate resource isn't found.
Terraform Configuration Files
The text was updated successfully, but these errors were encountered: