diff --git a/terraform-modules/cur-setup-destination/main.tf b/terraform-modules/cur-setup-destination/main.tf index 57d2e16d..41cfe0be 100644 --- a/terraform-modules/cur-setup-destination/main.tf +++ b/terraform-modules/cur-setup-destination/main.tf @@ -158,7 +158,7 @@ data "aws_iam_policy_document" "bucket_policy" { ] condition { test = "StringLike" - values = ["arn:${data.aws_partition.this.partition}:cur:${data.aws_region.this.name}:${data.aws_caller_identity.this.account_id}:definition/*"] + values = ["arn:${data.aws_partition.this.partition}:cur:us-east-1:${data.aws_caller_identity.this.account_id}:definition/*"] variable = "aws:SourceArn" } condition { @@ -185,7 +185,7 @@ data "aws_iam_policy_document" "bucket_policy" { ] condition { test = "StringLike" - values = ["arn:${data.aws_partition.this.partition}:cur:${data.aws_region.this.name}:${data.aws_caller_identity.this.account_id}:definition/*"] + values = ["arn:${data.aws_partition.this.partition}:cur:us-east-1:${data.aws_caller_identity.this.account_id}:definition/*"] variable = "aws:SourceArn" } condition { diff --git a/terraform-modules/cur-setup-source/main.tf b/terraform-modules/cur-setup-source/main.tf index 0a6880d5..04943f52 100644 --- a/terraform-modules/cur-setup-source/main.tf +++ b/terraform-modules/cur-setup-source/main.tf @@ -126,7 +126,7 @@ data "aws_iam_policy_document" "bucket_policy" { ] condition { test = "StringLike" - values = ["arn:${data.aws_partition.this.partition}:cur:*:${data.aws_caller_identity.this.account_id}:definition/*"] + values = ["arn:${data.aws_partition.this.partition}:cur:us-east-1:${data.aws_caller_identity.this.account_id}:definition/*"] variable = "aws:SourceArn" } condition { @@ -150,7 +150,7 @@ data "aws_iam_policy_document" "bucket_policy" { ] condition { test = "StringLike" - values = ["arn:${data.aws_partition.this.partition}:cur:*:${data.aws_caller_identity.this.account_id}:definition/*"] + values = ["arn:${data.aws_partition.this.partition}:cur:us-east-1:${data.aws_caller_identity.this.account_id}:definition/*"] variable = "aws:SourceArn" } condition {