From c4c543b29c3a483e0f023b112b2d08270d66a1ad Mon Sep 17 00:00:00 2001 From: Vedant Date: Fri, 10 Jan 2025 03:39:36 +0530 Subject: [PATCH] Fix : Updated Github Workflows and added Latest Azurerm Version --- outputs.tf | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/outputs.tf b/outputs.tf index 4023992..1f228cf 100644 --- a/outputs.tf +++ b/outputs.tf @@ -1,40 +1,44 @@ output "firewall_id" { description = "Firewall generated id" - value = join("", azurerm_firewall.firewall.*.id) + value = join(",", azurerm_firewall.firewall[*].id) } output "firewall_name" { - value = join("", azurerm_firewall.firewall.*.name) description = "Firewall name" - + value = join(",", azurerm_firewall.firewall[*].name) } output "private_ip_address" { - value = azurerm_firewall.firewall[*].ip_configuration[0].private_ip_address description = "Firewall private IP" - + value = [for ip in azurerm_firewall.firewall[*].ip_configuration : ip.private_ip_address] } output "public_ip_id" { - value = azurerm_public_ip.public_ip.*.id + description = "Public IP IDs" + value = azurerm_public_ip.public_ip[*].id } output "public_ip_address" { - value = azurerm_public_ip.public_ip.*.ip_address + description = "Public IP Addresses" + value = azurerm_public_ip.public_ip[*].ip_address } output "firewall_policy_id" { - value = join("", azurerm_firewall_policy.policy.*.id) + description = "Firewall Policy ID" + value = join(",", azurerm_firewall_policy.policy[*].id) } output "prefix_public_ip_id" { - value = azurerm_public_ip.prefix_public_ip.*.id + description = "Prefix Public IP IDs" + value = azurerm_public_ip.prefix_public_ip[*].id } output "prefix_public_ip_address" { - value = azurerm_public_ip.prefix_public_ip.*.ip_address + description = "Prefix Public IP Addresses" + value = azurerm_public_ip.prefix_public_ip[*].ip_address } output "public_ip_prefix_id" { - value = join("", azurerm_public_ip_prefix.pip-prefix.*.id) -} \ No newline at end of file + description = "Public IP Prefix IDs" + value = join(",", azurerm_public_ip_prefix.pip-prefix[*].id) +}