shibayan / terraform-azurerm-keyvault-acmebot

Terraform Module for Key Vault Acmebot
Apache License 2.0
31 stars 35 forks source link

expected dotnet_version to be one of [v3.0 v4.0 v6.0 v7.0], got 6 #42

Closed cpressland closed 1 year ago

cpressland commented 1 year ago

It looks like a recent change in AzureRM Provider v3.39.0 changed the requirements for the dotnet_version

│ Error: expected site_config.0.application_stack.0.dotnet_version to be one of [v3.0 v4.0 v6.0 v7.0], got 6
│ 
│   with module.uksouth_frontdoor.module.keyvault_acmebot.azurerm_windows_function_app.function,
│   on .terraform/modules/uksouth_frontdoor.keyvault_acmebot/main.tf line 98, in resource "azurerm_windows_function_app" "function":
│   98:       dotnet_version = "6"

I'll open a Pull Request to change this to "v6.0" but obviously that may break users of older providers.