Skip to content

Commit

Permalink
Merge pull request #72 from F5Networks/devel_21062024_valutfix
Browse files Browse the repository at this point in the history
adding vault fix
  • Loading branch information
RavinderReddyF5 authored Jun 22, 2024
2 parents c96d744 + aac1771 commit 34b356a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions examples/bigip_azure_1nic_deploy_keyvault/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/bigip_azure_1nic_deploy_keyvault/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 34b356a

Please sign in to comment.