Hi, is it possible to add the ECR as a block in P...
# prefect-community
Hi, is it possible to add the ECR as a block in Prefect 2? I was wondering if this is doable, I'm was trying in the UI, but the credentials part got me thinking. I'm using IAM Roles to authenticate the flow runs, so I don't even have an ECR username and password which the Docker Registry block in the UI requires. Maybe someone knows a way to achieve that. Thanks in any case
there is a PR for it which is blocked by one issue, which is blocked by another issue 🙃 https://github.com/PrefectHQ/prefect-aws/issues/142#issuecomment-1292628813 it's on our radar to fix this blocker though
the block on this PR is already working if you would manually create it yourself as in this PR https://github.com/PrefectHQ/prefect-aws/pull/68 the challenge is to package it correctly (it depends on a block in core repo and it's a bit tricky to expose) but functionally it's already working
Thank you very much Anna, I will check it out. I don't think I can't package it myself though, but it's good to know that there is already a PR
👍 1
you don't need to package it, you would just need to install prefect-aws from that PR branch and created block from there
up to you, definitely on our radar