Skip to content

Commit

Permalink
Fix ECR IAM policy
Browse files Browse the repository at this point in the history
  • Loading branch information
ha7315 committed Oct 10, 2024
1 parent 1879f2d commit a3becc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/postgres-etl/extract/etl_policies.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,11 @@ data "aws_iam_policy_document" "etl_policy" {
]

resources = [
"arn:aws:ecr:${var.aws_region}:473251818902:repository/postgres-etl", # Dev
"arn:aws:ecr:${var.aws_region}:473251818902:repository/postgres-etl:*", # Dev
"arn:aws:ecr:${var.aws_region}:665505400356:repository/postgres-etl", # SBX
"arn:aws:ecr:${var.aws_region}:665505400356:repository/postgres-etl:*", # SBX
"arn:aws:ecr:${var.aws_region}:974531504241:repository/postgres-etl", # Prod
"arn:aws:ecr:${var.aws_region}:974531504241:repository/postgres-etl:*" # Prod
]
}
Expand Down

0 comments on commit a3becc1

Please sign in to comment.