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

Forced to use prefix on repository with multiple environments #100

Open
wilson1000-MoJ opened this issue Jan 29, 2024 · 0 comments
Open

Comments

@wilson1000-MoJ
Copy link

Hi CP.

Recently, I was forced to provide a prefix for ECR to write variables to GitHub environments. An issue occurred that prevented me from optimising my deployment script.

Problem
Even though GitHub environments were defined in the ECR module, the module persistently tried to write variables at the application repository level using the names ECR_REGION and ECR_ROLE_TO_ASSUME for each deployment, regardless of the configured github_environment.

This issue caused the ECR module to fail in concourse builds due to an inability to overwrite repository variables.

Solution
Prevent the ECR module from writing application repository-level variables when github_environment is set.

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