Hello ,
I am trying to create a Azure Front Door using TF and I am stuck at he below point .
resource “azurerm_frontdoor” “example” {
name = “”
#resource_group_name = var.resource_group_name
resource_group_name = “”
enforce_backend_pools_certificate_name_check = false
frontend_endpoint {
name = “”
host_name = “”
custom_https_provisioning_enabled = true
session_affinity_enabled = true
session_affinity_ttl_seconds = 300
web_application_firewall_policy_link_id = “”
custom_https_configuration {
certificate_source = “AzureKeyVault”
azure_key_vault_certificate_vault_id =data.azurerm_key_vault.KV.id
azure_key_vault_certificate_secret_name = data.azurerm_key_vault_secret.Secret.name
azure_key_vault_certificate_secret_version = data.azurerm_key_vault_secret.Secret.version
}
The below value for Azure Key vault secret name is deprecated in AZ key vault . The certs are stored in Certificates section rather than the secrets section .
azure_key_vault_certificate_secret_name = ???
is there a work around for the above ??