diff --git a/examples/bigip_azure_1nic_deploy_keyvault/main.tf b/examples/bigip_azure_1nic_deploy_keyvault/main.tf index fb42bf2..47d1970 100644 --- a/examples/bigip_azure_1nic_deploy_keyvault/main.tf +++ b/examples/bigip_azure_1nic_deploy_keyvault/main.tf @@ -100,10 +100,10 @@ module "bigip" { prefix = format("%s-1nic", var.prefix) resource_group_name = azurerm_resource_group.rg.name f5_ssh_publickey = azurerm_ssh_public_key.f5_key.public_key - az_key_vault_authentication = var.az_key_vault_authentication - azure_secret_rg = var.az_key_vault_authentication ? azurerm_resource_group.keyvalrg.name : "" - azure_keyvault_name = var.az_key_vault_authentication ? azurerm_key_vault.key_vault.name : "" - azure_keyvault_secret_name = var.az_key_vault_authentication ? azurerm_key_vault_secret.adminsecret.name : "" + az_keyvault_authentication = var.az_keyvault_authentication + azure_secret_rg = var.az_keyvault_authentication ? azurerm_resource_group.keyvalrg.name : "" + azure_keyvault_name = var.az_keyvault_authentication ? azurerm_key_vault.key_vault.name : "" + azure_keyvault_secret_name = var.az_keyvault_authentication ? azurerm_key_vault_secret.adminsecret.name : "" mgmt_subnet_ids = [{ "subnet_id" = data.azurerm_subnet.mgmt.id, "public_ip" = true, "private_ip_primary" = "" }] mgmt_securitygroup_ids = [module.mgmt-network-security-group.network_security_group_id] availability_zone = var.availability_zone diff --git a/examples/bigip_azure_1nic_deploy_keyvault/variables.tf b/examples/bigip_azure_1nic_deploy_keyvault/variables.tf index 48a7384..59e490c 100644 --- a/examples/bigip_azure_1nic_deploy_keyvault/variables.tf +++ b/examples/bigip_azure_1nic_deploy_keyvault/variables.tf @@ -31,7 +31,7 @@ variable "instance_count" { default = 1 } -variable "az_key_vault_authentication" { +variable "az_keyvault_authentication" { description = "Whether to use key vault to pass authentication" type = bool }