Skip to content

Commit

Permalink
fix: need to case normalize the zone name
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpanzella committed Sep 27, 2024
1 parent 45c9aa5 commit 1ba1aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ locals {
for sku in jsondecode(data.azapi_resource_list.az_zones.output).value :
sku if(
sku.resourceType == "virtualMachines" &&
contains(sku.locations, azurerm_resource_group.default.location) &&
lower(sku.locations[0]) == lower(azurerm_resource_group.default.location) &&
sku.name == local.kubernetes_instance_type
)
]
Expand Down

0 comments on commit 1ba1aac

Please sign in to comment.