Skip to content

Commit

Permalink
update condition
Browse files Browse the repository at this point in the history
  • Loading branch information
endakelly committed Oct 19, 2023
1 parent 6776551 commit 57427b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyvault.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ data "azurerm_key_vault_secret" "splunk_pass4symmkey" {
data "azurerm_key_vault_secret" "nessus_agent_key" {
count = var.install_nessus_agent ? 1 : 0
provider = azurerm.soc
name = var.nessus_key == null ? "nessus-agent-key-${var.env}" : var.nessus_key
name = var.nessus_key == "" ? "nessus-agent-key-${var.env}" : var.nessus_key
key_vault_id = data.azurerm_key_vault.soc_vault[0].id
}

0 comments on commit 57427b8

Please sign in to comment.