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

Feature: job parameter region for all the commands and jobs #224

Merged
merged 8 commits into from
Oct 2, 2024

Conversation

marboledacci
Copy link
Contributor

This changes the way region is passed to to all jobs and commands in the orb. This used to be done using the environment variable values.
The new parameter is set to used the AWS_DEFAULT_REGION env as a default when it is not set, this env was used for some other commands already.
The change should be a major version as some of the commands are just using the default region defined in the profile or the defaults environment variables, and this won't work now as the region is always explicitly set.
Also the way to pass the value is standardised to pass the value instead of the name of an environment variable. Anyway, an environment variable can be passed, but using the $ notation instead of just the name.

@marboledacci marboledacci marked this pull request as ready for review September 30, 2024 20:18
@marboledacci marboledacci requested a review from a team as a code owner September 30, 2024 20:18
@marboledacci marboledacci merged commit ccaddc8 into master Oct 2, 2024
2 checks passed
@marboledacci marboledacci deleted the feature/explicit-branch branch October 2, 2024 16:17
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