Open gorillaking opened 2 years ago
I have the same issue with azurerm_linux_function_app
and azurerm_linux_function_app_slot
and Premium V3 plan.
Any updates on this?
I also have this issue, is there a reason this isn't labelled a bug? If we're having to switch to a deprecated version to get this working then it's definitely a bug ðŸ˜
I do have the same issue:
When I remove these three settings from TF, the deployment and refresh (in the next pipeline run) is happening without any issues.
Error: reading logs configuration for Windows Function App: (Site Name "abifun-appsdmt01euntst" / Resource Group "Ability-XX-XX-XXXX-01"): web.AppsClient#GetDiagnosticLogsConfiguration: Failure sending request: StatusCode=503 -- Original Error: context deadline exceeded │ │ with azurerm_windows_function_app.win_funapp[0], │ on function_app.tf line 12, in resource "azurerm_windows_function_app" "win_funapp": │ 12: resource "azurerm_windows_function_app" "win_funapp" { │ │ reading logs configuration for Windows Function App: (Site Name │ "abifun-appsdmt01euntst" / Resource Group "Ability-XX-XX-XXXX-01"): │ web.AppsClient#GetDiagnosticLogsConfiguration: Failure sending request: │ StatusCode=503 -- Original Error: context deadline exceeded
Another thread with similar issue https://github.com/hashicorp/terraform-provider-azurerm/issues/20953
@gorillaking are you able to create the function app / slot in ASE now?
Is there an existing issue for this?
Community Note
Terraform Version
1.1.7
AzureRM Provider Version
3.14.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app_slot
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
I am expect the above script to run without any issue.
Actual Behaviour
During apply, Terraform successfully create all resources. But when it get to the slot creation, it will stuck in "still creating..." for 10 minutes and then timed out and failed apply. The slot did get created on azure correctly, But the tfstate did not reflect that.
I then proceed to import the slot into the tfstate, It got stuck on refreshing state, and timed out after 10 minutes.
I have tried to deploy the slot to different App Service Plans, the only one that is failing is when I deploy to an I1v2 ASP that is in an ASEv3.
I did found a workaround by using the deprecated azurerm_function_app_slot resource, and I have not experienced the aforementioned issues.
Steps to Reproduce
Important Factoids
No response
References
No response