Skip to content

USE of AWS_PROFILE#20

Open
cell wants to merge 4 commits into
makethunder:masterfrom
outersystems:master
Open

USE of AWS_PROFILE#20
cell wants to merge 4 commits into
makethunder:masterfrom
outersystems:master

Conversation

@cell

@cell cell commented Mar 2, 2020

Copy link
Copy Markdown

Two behaviours adapted:

  • If AWS_PROFILE is set, it will be used as default value for the user/profile. Of course if the option -u is specified, its value is taken.
  • If a user/profile is given, be it by environment variable or argument, awsudo will use its value to set a new aws variable: AWS_PROFILE.

@alecraso alecraso left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, can you add tests?

@cell

cell commented Mar 29, 2020

Copy link
Copy Markdown
Author

@aaronbiller It tooks some time but here are the tests.

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