Skip to content

Commit 5b39962

Browse files
dnnoantonbabenko
andauthored
Use region property instead of id as per suggestion
Co-authored-by: Anton Babenko <[email protected]>
1 parent 5b9a769 commit 5b39962

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/with-archive/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ module "kms" {
113113
test = "StringEquals"
114114
variable = "kms:EncryptionContext:aws:events:event-bus:arn"
115115
values = [
116-
"arn:aws:events:${data.aws_region.current.id}:${data.aws_caller_identity.current.account_id}:event-bus/example",
116+
"arn:aws:events:${data.aws_region.current.region}:${data.aws_caller_identity.current.account_id}:event-bus/example",
117117
]
118118
},
119119
{

0 commit comments

Comments
 (0)