microsoft / PubSec-Info-Assistant

Information Assistant, built with Azure OpenAI Service, Industry Accelerator
MIT License
347 stars 783 forks source link

Terraform takes too long (or is unable) to create App Service Plan #882

Open antmeyer408 opened 1 month ago

antmeyer408 commented 1 month ago

During the deployment process (via 'make deploy'), Terraform seems to be unable to create the azurerm_service_plan resources. After an hour, the process times out:

module.functions.azurerm_service_plan.funcServicePlan: Still creating... [57m20s elapsed] module.enrichmentApp.azurerm_service_plan.appServicePlan: Still creating... [57m20s elapsed] module.webapp.azurerm_service_plan.appServicePlan: Still creating... [57m20s elapsed] module.enrichmentApp.azurerm_service_plan.appServicePlan: Still creating... [57m30s elapsed]

To reproduce this, just following the deployment instructions and run 'make deploy'.

bjakems commented 1 month ago

Was this deployment for version 1.2? Will you please attempt to run make deploy again? Also, check in the Azure portal to see if the resources are created. If so, then Terraform most likely lost connectivity to your Azure resources and another make deploy should fix this issue.