Skip to content

Commit 2096d87

Browse files
authored
fix: Use empty strings for metadata default values to avoid template errors (#52)
1 parent 263410b commit 2096d87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ data "aws_region" "current" {
1313
}
1414

1515
locals {
16-
partition = try(data.aws_partition.current[0].partition, null)
17-
account_id = try(data.aws_caller_identity.current[0].account_id, null)
18-
region = try(data.aws_region.current[0].region, null)
16+
partition = try(data.aws_partition.current[0].partition, "aws")
17+
account_id = try(data.aws_caller_identity.current[0].account_id, "")
18+
region = try(data.aws_region.current[0].region, "")
1919
}
2020

2121
################################################################################

0 commit comments

Comments
 (0)