Skip to content

Commit 9a6b928

Browse files
committed
fix(cloudtrail-trail): change usage of name property of data.aws_region
1 parent 8314623 commit 9a6b928

File tree

1 file changed

+1
-1
lines changed
  • modules/cloudtrail-trail

1 file changed

+1
-1
lines changed

modules/cloudtrail-trail/iam.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module "role" {
4949

5050
locals {
5151
partition = data.aws_partition.this.partition
52-
region = data.aws_region.this.name
52+
region = data.aws_region.this.region
5353
account_id = data.aws_caller_identity.this.account_id
5454
org_id = data.aws_organizations_organization.this.id
5555

0 commit comments

Comments
 (0)