Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jul 1, 2024
1 parent f91364b commit f62d83d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s3-access-logs/policy_data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ data "aws_iam_policy_document" "logs_s3" {
type = "AWS"
identifiers = [
format("arn:%v:iam::%v:root", data.aws_arn.current.partition, local.account_id),
format("arn:%v:logs:%v:%v:*", data.aws_arn.current.partition, local.logs_region, data.aws_elb_service_account.elb_account_id.id),
data.aws_elb_service_account.elb_account_id.arn,
]
}
}
Expand Down Expand Up @@ -78,7 +78,7 @@ data "aws_iam_policy_document" "logs_s3" {
type = "AWS"
identifiers = [
format("arn:%v:iam::%v:root", data.aws_arn.current.partition, local.account_id),
format("arn:%v:logs:%v:%v:*", data.aws_arn.current.partition, local.logs_region, data.aws_elb_service_account.elb_account_id.id),
data.aws_elb_service_account.elb_account_id.arn,
]
}
}
Expand Down

0 comments on commit f62d83d

Please sign in to comment.