Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The AWS_ECR_LOGIN environment variable is not respected in pipelines #1444

Open
gws opened this issue Feb 9, 2025 · 0 comments
Open

The AWS_ECR_LOGIN environment variable is not respected in pipelines #1444

gws opened this issue Feb 9, 2025 · 0 comments

Comments

@gws
Copy link

gws commented Feb 9, 2025

Describe the bug

When the AWS_ECR_LOGIN environment variable is set to false in a pipeline running in a stack that has the ECR plugin generally enabled, ECR logins are not disabled in that pipeline.

This environment variable is documented to work as I expect:

You can disable this in individual pipelines by setting AWS_ECR_LOGIN=false.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Set up a stack where the ECR plugin is generally enabled.
  2. Create a pipeline containing the environment variable AWS_ECR_LOGIN set to false.
  3. Run the pipeline.

Expected behavior

I expect no ECR login attempts in pipelines where AWS_ECR_LOGIN is false even if the plugin is generally enabled in the stack.

Actual behaviour

The pipeline steps still log in to ECR, and do not appear to respect AWS_ECR_LOGIN.

Stack parameters

  • AWS Region: us-west-2
  • Version: 6.34.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant