Closed adamrushuk closed 3 years ago
Check passing powershellversion site config: https://github.com/neumanndaniel/armtemplates/blob/aa14255f3a2be592ac60dc8ff541fda7cb10c649/aks-snapshot-backup/aks-snapshot-backup-infrastructure.json#L97
siteConfig.PowerShellVersion
is also mentioned here: https://github.com/Azure/Azure-Functions/issues/1503#issuecomment-642271111
Waiting on response from known issue: https://github.com/terraform-providers/terraform-provider-azurerm/issues/8867
Just noticed this started working, despite missing siteConfig.PowerShellVersion
. It just seems to takes 10-15 mins to kick in.
This issue is intermittent, so I'm just using PowerShell 6.2 until 7.0 becomes the default
The Function App should start straight away, but requires manually restarting app service before it starts working. I thought this was a known issue (terraform-provider-azurerm issue 8546) but it's not quite the same behaviour.