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/auth methods #14

Open
wants to merge 18 commits into
base: main
Choose a base branch
from
Open

Feature/auth methods #14

wants to merge 18 commits into from

Conversation

dacort
Copy link
Contributor

@dacort dacort commented Apr 11, 2023

Description of changes:
Adds a new --profile option to bootstrap to allow you to specify the AWS profile you want to use.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor Author

@dacort dacort left a comment

Choose a reason for hiding this comment

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

A few initial comments.

Comment on lines +5 to +6
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ vars.AWS_SECRET_ACCESS_KEY }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

What are these used for?

Copy link
Contributor

Choose a reason for hiding this comment

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

These are used for unit tests, they allow to init the boto3 sessions. They contain dummy values.

src/emr_cli/base/EmrBase.py Outdated Show resolved Hide resolved
src/emr_cli/base/EmrBase.py Outdated Show resolved Hide resolved
Comment on lines 156 to 159
@click.option(
"--profile",
help="The AWS profile to use for bootstraping the 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.

The run command errors out as this is not passed in as an argument in def run() below.

lmouhib and others added 4 commits April 24, 2023 22:12
conventions fix

Co-authored-by: Damon P. Cortesi <d.lifehacker@gmail.com>
Lint

Co-authored-by: Damon P. Cortesi <d.lifehacker@gmail.com>
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