Skip to content

Commit

Permalink
Merge pull request #46 from hmcts/DTSPO-15485/globalscape-frontdoor-stg
Browse files Browse the repository at this point in the history
DTSPO-15485 - add condition to nessus key
  • Loading branch information
endakelly authored Oct 20, 2023
2 parents 3a433ec + 093d2a5 commit 37e67fe
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 = "nessus-agent-key-${var.env}"
name = contains(["prod", "sbox"], var.env) ? "nessus-agent-key-${var.env}" : "nessus-agent-key-nonprod"
key_vault_id = data.azurerm_key_vault.soc_vault[0].id
}

0 comments on commit 37e67fe

Please sign in to comment.