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

Allow using different aws profiles #6

Open
MAliNaqvi opened this issue Aug 20, 2019 · 3 comments
Open

Allow using different aws profiles #6

MAliNaqvi opened this issue Aug 20, 2019 · 3 comments

Comments

@MAliNaqvi
Copy link
Contributor

Currently, aws-ssm-commander doesn't allow using different aws profiles:

https://github.com/djcrabhat/aws-ssm-commander/blob/master/ssmcommander/yaml_parser.py#L18-L22

There should be an optional cli argument to switch between aws profiles

@djcrabhat
Copy link
Owner

So if you set the environment variable AWS_PROFILE, it'll select that profile. But you're right, the --profile flag would be good.

@hebbarh
Copy link

hebbarh commented Aug 26, 2019

How about adding --region as well?
-Harish

@djcrabhat
Copy link
Owner

djcrabhat commented Mar 7, 2020

@harimh "--region" already exists on the sub-commands, if you look at the individual usages

tree --help
Usage: cli.py tree [OPTIONS] SSM_PREFIX

  Print out a tree of your SSM parameters

Options:
  --ssm-override-url TEXT
  --region TEXT
  --help                   Show this message and exit.

Process finished with exit code 0

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

3 participants