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

Repo vars condition #109

Merged
merged 3 commits into from
Apr 30, 2024
Merged

Repo vars condition #109

merged 3 commits into from
Apr 30, 2024

Conversation

sj-williams
Copy link
Contributor

No description provided.

README.md Outdated
@@ -4,7 +4,9 @@

This Terraform module will create an [Amazon Elastic Container Registry](https://aws.amazon.com/ecr/) private repository for use on the Cloud Platform.

If you're using GitHub as your OIDC provider, this module will automatically create the required variables for authentication in your GitHub repository.
If you're using GitHub as your OIDC provider, this module will automatically create the required variables for authentication in your GitHub repository. By default these will be created as [repository secrets and variables](https://docs.github.com/en/actions/learn-github-actions/variables#creating-configuration-variables-for-a-repository). Optionally, you can configure the module to create the ECR secrets
Copy link
Contributor

@poornima-krishnasamy poornima-krishnasamy Apr 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally sounds like additionally. Can we say something like, if you have defined GitHub Environments, you can configure the module to create the ECR secrets and variables into your own defined Github Environment and not as a Github repository secrets. This can be done by passing the github_environments with the value you defined for your Github environment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I've updated it. Hopefully that clarifies the difference?

@sj-williams sj-williams merged commit 6e9c083 into main Apr 30, 2024
3 checks passed
@sj-williams sj-williams deleted the repo-vars-condition branch April 30, 2024 09:30
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

Successfully merging this pull request may close these issues.

2 participants