Skip to content

Commit

Permalink
modified reference to subscription
Browse files Browse the repository at this point in the history
  • Loading branch information
shanice-skylight committed Aug 14, 2024
1 parent ac69376 commit d71e2a3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ops/services/alerts/alert_app/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ resource "azurerm_logic_app_trigger_http_request" "res-4" {


resource "azapi_resource" "createApiConnectionslack" {
type = "Microsoft.Web/connections@2015-08-01-preview"
name = var.connection_name
parent_id = data.azurerm_resource_group.rg.id
location = data.azurerm_resource_group.rg.location
type = "Microsoft.Web/connections@2015-08-01-preview"
name = var.connection_name
parent_id = data.azurerm_resource_group.rg.id
location = data.azurerm_resource_group.rg.location
schema_validation_enabled = false


Expand All @@ -125,7 +125,7 @@ resource "azapi_resource" "createApiConnectionslack" {
description = "Slack is a team communication tool, that brings together all of your team communications in one place, instantly searchable and available wherever you go."
iconUri = "https://connectoricons-prod.azureedge.net/releases/v1.0.1669/1.0.1669.3522/slack/icon.png"
brandColor = "#78D4B6"
id = "/subscriptions/${data.azurerm_subscription.primary.id}/providers/Microsoft.Web/locations/${data.azurerm_resource_group.rg_global.location}/managedApis/${var.connection_name}"
id = "${data.azurerm_subscription.primary.id}/providers/Microsoft.Web/locations/${data.azurerm_resource_group.rg_global.location}/managedApis/${var.connection_name}"
type = "Microsoft.Web/locations/managedApis"
}
}
Expand Down

0 comments on commit d71e2a3

Please sign in to comment.