Open rohith267 opened 2 years ago
Hello @rohith267, I'd like to try a fix but unfortunately, I was unable to reproduce this crash on my side, would you please provide a minimal sample with all arguments that could reproduce this issue? Many thanks!
Hi @lonegunmanb , I will provide the minimal sample code replicating the issue in some time.
We experienced this issue yesterday as well. We ended up having to bump the version of azurerm up to a newer version (despite not having changed this version in months).
Hello @rohith267 , how're things going? Do you need any extra help to reproduce this issue?
Hi @lonegunmanb , we are unable to reproduce the issue with the sample code (by creating a app service plan and azure function app). But we are facing the issue with our actual code. We faced the same issue of plugin not responding with azurerm provider version 3.1.0 also. But we are unable to reproduce the issue with the sample code. So, we didn't upgrade the resources (azurerm_app_service_plan to azurerm_service_plan and azurerm_function_app to azurerm_windows_function_app ) and just upgraded the azurerm provider version and made minimum changes required, for now.
Hi @rohith267, copy that, I'll see what I can do.
Hi @rohith267 , unfortunately I cannot reproduce this panic either. According to the stack trace, the panic occurred before azurerm_windows_function_app
's creation function's call. And it seems like you're trying to create a new windows function app right?
@lonegunmanb we already have resources azurerm_function_app in previous 2.x versions. As these resources will get deprecated in 4.x versions, so we tried to upgrade it to azurerm_windows_function_app and upgrade azurerm provider version to 3.0.2. Then we found this error.
Is there an existing issue for this?
Community Note
Terraform Version
1.1.7
AzureRM Provider Version
3.0.2
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app, azurerm_cosmosdb_sql_container, azurerm_storage_blob
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
The resources are created properly by using the azurerm version 2.98.0 . When we tried to upgrade the azurerm provider version to 3.0.2 and made the necessary changes that are mentioned in the hashicorp documentation, function app, cosmos db containers and storage blob should get created.
Actual Behaviour
The resources are not being created and the above error is being observed on the azure pipeline in 'terraform apply' step.
Steps to Reproduce
terraform apply
Important Factoids
No response
References
No response