Why is ECR needed for cdk bootstrap? #27267
-
Hello all, I am trying to onboard CDK for my team at my organization, but we have a hard "no ECR" policy enforced for cyber security reasons. We are exploring bootstrapping the environment without ECR by deploying resources described in the bootstrap template, but, I don't fully understand why ECR is needed in the first place, how it gets used (just a one-time run during CFN deployment of the bootstrap resources?), and whether it is feasible to use AWS CDK without ECR. Can someone please shed some light on this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
ECR is used if you need to upload any images as assets as part of your stack. If you don't need to upload images during deployment, you will be fine to bootstrap without the ECR resources |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
ECR is used if you need to upload any images as assets as part of your stack. If you don't need to upload images during deployment, you will be fine to bootstrap without the ECR resources