Skip to content

Commit

Permalink
new aws_ecr_pull_through_cache_rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ShotaKitazawa committed Apr 22, 2024
1 parent 9df95a3 commit d8cb2dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ecr/ecr.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,8 @@ resource "aws_ecr_lifecycle_policy" "us_west_2" {
}
EOF
}

resource "aws_ecr_pull_through_cache_rule" "ecr_public" {
ecr_repository_prefix = "ecr-public"
upstream_registry_url = "public.ecr.aws"
}

0 comments on commit d8cb2dc

Please sign in to comment.