hashicorp / terraform-provider-azurerm

Terraform provider for Azure Resource Manager
https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs
Mozilla Public License 2.0
4.6k stars 4.65k forks source link

Standard Logic App Creation Not Working #22534

Open artagame21 opened 1 year ago

artagame21 commented 1 year ago

Is there an existing issue for this?

Community Note

Terraform Version

1.3.9

AzureRM Provider Version

v3.65.0

Affected Resource(s)/Data Source(s)

azurerm_logic_app_standard

Terraform Configuration Files

resource "azurerm_logic_app_standard" "this" {
  name                       = var.name
  location                   = var.location
  resource_group_name        = data.azurerm_resource_group.rg.name
  app_service_plan_id        = local.app_service_plan_id
  storage_account_name       = local.storage_account_name
  storage_account_access_key = local.storage_account_access_key
  https_only                 = true
  tags                       = var.tags
  version                    = var.runtime_version

  identity {
    type = "SystemAssigned"
  }

  site_config {
    vnet_route_all_enabled    = var.vnet_route_all_enabled
    pre_warmed_instance_count = var.pre_warmed_instance_count
    dotnet_framework_version  = var.dotnet_framework_version
    ftps_state                = var.ftps_state
    http2_enabled             = var.http2_enabled
    always_on                 = false

    # Add a firewall rule for each inbound subnet defined.
    dynamic "ip_restriction" {
      for_each = var.inbound_subnet_ids
      content {
        virtual_network_subnet_id = ip_restriction.value
        name                      = "Default VNet"
        priority                  = "100"
        action                    = "Allow"
      }
    }
  }

Debug Output/Panic Output

<script src="https://gist.github.com/artagame21/0a83189de002edc1006b9739859a8efa.js"></script>

Expected Behaviour

Create Standard Logic App

Actual Behaviour

Failing in creation of standard logic app

Steps to Reproduce

Create App Service Environment Create App Service Plan Create Standard Logic App

Important Factoids

No response

References

No response

ziyeqf commented 1 year ago

Hi @artagame21, thanks fore opening this issue.

per the log file you provided, the failed one is logic-aue-ppd-fip-atm-poc-03, could you please check if there is FUNCTIONS_EXTENSION_VERSION inside app_settings block for it?

Thanks!