aztfmod / terraform-azurerm-caf

Terraform supermodule for the Terraform platform engineering for Azure
https://aztfmod.github.io/documentation/
MIT License
556 stars 700 forks source link

Feature request-TLS Inspection feature on Azure Firewall #1553

Open sharmilamusunuru opened 1 year ago

sharmilamusunuru commented 1 year ago

Is there an existing issue for this?

Community Note

Description

We are looking to enable TLS inspection on the Azure firewall premium and the issue raised to track this

New or Affected Resource(s

azurerm_firewall

Potential Configuration file

No response

References

No response

LaurentLesle commented 1 year ago

Need more details on what is needed + proposition of the potential configuration file

lbehm commented 1 month ago

Something like this was needed:

Sourced from application_gateway.tf for tls_certificate:

  dynamic "tls_certificate" {
    for_each = try(var.settings.tls_certificate, null) == null ? [] : [1]

    content {
      name                = var.settings.tls_certificate.name
      key_vault_secret_id = var.keyvault_certificates[var.settings.tls_certificate.name].secret_id
    }
  }

and for identity:

  dynamic "identity" {
    for_each = try(var.settings.identity, null) == null ? [] : [1]

    content {
      type         = "UserAssigned"
      identity_ids = local.managed_identities
    }
  }