From f503d58e182aef573a829b15538a6ff7633f8418 Mon Sep 17 00:00:00 2001 From: Anssi Hakanen Date: Fri, 26 Apr 2024 10:17:14 +0300 Subject: [PATCH] eventgrid sub function id modified --- main.tf | 2 +- modules/Network/outputs.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.tf b/main.tf index 2bfafb3..f20711f 100644 --- a/main.tf +++ b/main.tf @@ -31,7 +31,7 @@ module "function_app" { instru_key = module.monitoring.instrumentation_key conn_string = module.monitoring.conn_string func_subnet_id = module.network.function_subnet_id - sub = module.network.current_subscription_display_name + sub = module.network.current_subscription } /* module "eventgrid" { diff --git a/modules/Network/outputs.tf b/modules/Network/outputs.tf index ef6bbdb..83d16a4 100644 --- a/modules/Network/outputs.tf +++ b/modules/Network/outputs.tf @@ -18,6 +18,6 @@ output "private_dns_zone_blob_id" { value = azurerm_private_dns_zone.zones["blob_zone"].id } -output "current_subscription_display_name" { +output "current_subscription" { value = data.azurerm_subscription.sub } \ No newline at end of file