Skip to content

Commit

Permalink
fix:change in count condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupalgw committed Feb 19, 2024
1 parent 2a39c72 commit 08a024e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ output "public_ip_id" {
}

output "route_table_id" {
value = var.enable && var.enable_route_table ? azurerm_route_table.rt[0].id : null
value = var.enable && var.enable_route_table ? azurerm_route_table.rt[*].id : null
description = "The Route Table ID."
}

output "route_table_associated_subnets" {
value = var.enable && var.enable_route_table ? azurerm_route_table.rt[0].subnets : null
value = var.enable && var.enable_route_table ? azurerm_route_table.rt[*].subnets : null
description = "The collection of Subnets associated with this route table."
}

0 comments on commit 08a024e

Please sign in to comment.