Skip to content

ECR Pull Through cache #27

Closed Answered by milldr
mtb-xt asked this question in Questions & Answers
Jan 13, 2025 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

We have pull through cache rules included with our ecr component!
https://github.com/cloudposse-terraform-components/aws-ecr

To add pull through caching with ecr, add this to your stack configuration

components:
  terraform:
    ecr:
      vars:
        enabled: true
...
        pull_through_cache_rules:
          dockerhub:
            registry: "registry-1.docker.io"
            secret: "ecr-pullthroughcache/dockerhub"

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

milldr
Jan 13, 2025
Maintainer Sponsor

You must be logged in to vote
4 replies
@mtb-xt
Comment options

@milldr
Comment options

milldr Jan 15, 2025
Maintainer Sponsor

@mtb-xt
Comment options

@milldr
Comment options

milldr Jan 16, 2025
Maintainer Sponsor

Answer selected by osterman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment