awslabs / awslabs/amazon-emr-cli
Add support for `--profile` flag for choosing AWS profile
- Dominant language
- Python
- Stars
- 47
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Currently, all `boto3` clients are initiated without specifying the AWS profile name. Hence, the `default` profile will be used.
Adding the `--profile` flag would significantly improve the handiness of the CLI because it is very common to switch the profile frequently during development (for example, changing the target environment between `dev` and `prod` by switching the AWS profile).
Contributor guide
Research direction
Start by tracing the CLI argument handling and the boto3 client initialization points in the repository. Add the requested --profile option so the selected AWS profile is used instead of the default, then verify the CLI still packages, deploys, and runs EMR Serverless Spark jobs correctly with that profile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python
- Domain
- cli, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100