Skip to content

Commit

Permalink
fix: use different sid for ecr and ecr-public resources
Browse files Browse the repository at this point in the history
  • Loading branch information
Baachi authored Nov 25, 2024
1 parent 124c139 commit 5281e4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/repository-template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ data "aws_iam_policy_document" "repository" {
for_each = length(var.repository_read_write_access_arns) > 0 ? [var.repository_read_write_access_arns] : []

content {
sid = "ReadWrite"
sid = "ECRPublicReadWrite"

principals {
type = "AWS"
Expand Down

0 comments on commit 5281e4e

Please sign in to comment.