Skip to content

Commit 01cff4e

Browse files
fix: availability zone data type (#275)
# Pull Request ## Issue Azure/ALZ-Bicep#939 ## Description Fix the data type of availability zones as Bicep is expecting an array of strings ## License By submitting this pull request, I confirm that my contribution is made under the terms of the projects associated license.
1 parent 826144e commit 01cff4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ALZ/Private/Config-Helpers/Get-AzureRegionData.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module "regions" {
2525
locals {
2626
regions = { for region in module.regions.regions_by_name : region.name => {
2727
display_name = region.display_name
28-
zones = region.zones == null ? [] : region.zones
28+
zones = region.zones == null ? [] : [for zone in region.zones : tostring(zone)]
2929
}
3030
}
3131
}

0 commit comments

Comments
 (0)