Skip to content

Commit

Permalink
changed the attribute being called on secret
Browse files Browse the repository at this point in the history
  • Loading branch information
shanice-skylight committed Aug 9, 2024
1 parent 82ecef3 commit 8a8321c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ops/services/alerts/alert_app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ resource "azurerm_logic_app_trigger_http_request" "workflow_trigger" {
"type": "Http",
"inputs": {
"method": "POST",
"uri": "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.azure_alert_slack_webhook.id})",
"uri": "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.azure_alert_slack_webhook.value})",
"headers": {
"Content-Type": "application/json"
},
Expand All @@ -63,7 +63,7 @@ resource "azurerm_logic_app_action_http" "workflow_action" {
logic_app_id = azurerm_logic_app_workflow.slack_workflow.id
name = "Post_message_to_Slack"
method = "POST"
uri = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.azure_alert_slack_webhook.id})"
uri = "@Microsoft.KeyVault(SecretUri=${data.azurerm_key_vault_secret.azure_alert_slack_webhook.value})"
headers = {
"Content-Type" = "application/json"
}
Expand Down

0 comments on commit 8a8321c

Please sign in to comment.