Skip to content

Commit

Permalink
Fix : Updated Github Workflows and added Latest Azurerm Version
Browse files Browse the repository at this point in the history
  • Loading branch information
vedant990 committed Jan 9, 2025
1 parent 86449f9 commit c4c543b
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions outputs.tf
Original file line number Diff line number Diff line change
@@ -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)
}
description = "Public IP Prefix IDs"
value = join(",", azurerm_public_ip_prefix.pip-prefix[*].id)
}

0 comments on commit c4c543b

Please sign in to comment.