Open neilmca-inc opened 2 years ago
+1 - experiencing same issue
I had cases where the keys took a very long time to show up. (So I run in timeouts in my tf and wait until the show up)
I'm not sure if this issue is still occurring, the azurerm_windows_function_app resource generates host keys for me, I just have the .NET 6 and v4 runtime issue.
Too late for me - I returned to using azurerm_function_app as it worked - sometimes you have to go with what works, rather than the new untested ones, which clearly this is
+1 - experiencing same issue
Hey! I was able to resolve this issue by doing one of the two following things
WEBSITE_RUN_FROM_PACKAGE
= 1
and after the deployment of a HTTP trigger function is completed, it will have the keys, WEBSITE_RUN_FROM_PACKAGE
= 0
and then it will generate the keys, but if you wanted it to be 1
then you have to manually change it back, which kinda sucksAny update on that issue?
Is there an existing issue for this?
Community Note
Terraform Version
1.2.5
AzureRM Provider Version
3.15.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app, azurerm_linux_function_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
Creates "App Keys" named default and _master host keys. This works with the old azurerm_function_app resource.
This is also added by default when you create a Function App in the Azure portal.
Actual Behaviour
It doesn't creates "App Keys" named default and _master host keys
Steps to Reproduce
No response
Important Factoids
Please note that my Terraform code is exactly the same code as provided in the example sections of the official Terraform documentation - the only thing I have added is the random_string generation so you can try it on your own systems easily
No response
References
No response