Skip to content

Commit a151418

Browse files
committed
change aws_region data source attribute
1 parent 73cee96 commit a151418

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ locals {
77

88
sns_topic_arn = try(
99
aws_sns_topic.this[0].arn,
10-
"arn:${data.aws_partition.current.id}:sns:${data.aws_region.current.name}:${data.aws_caller_identity.current.account_id}:${var.sns_topic_name}",
10+
"arn:${data.aws_partition.current.id}:sns:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:${var.sns_topic_name}",
1111
""
1212
)
1313

0 commit comments

Comments
 (0)