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

Add an export primitive to use with eval to simplify exporting variables #6962

Closed
2 tasks
justindho opened this issue May 17, 2022 · 2 comments
Closed
2 tasks
Assignees
Labels
community configure feature-request A feature should be added or improved. p3 This is a minor priority issue

Comments

@justindho
Copy link
Contributor

Describe the feature

The feature would add an export subcommand to the CLI's aws configure command. With this feature, I could then switch between profiles that have specific sets of environment variables associated with them easily. For example, to export the environment variables associated with the profile myprofile, I could run

eval aws configure export --profile myprofile

To go back to the default profile and its associated environment variables, I could run

eval aws configure export

Use Case

Some of the tools I use require a set of environment varialbe(s) to be set. Switching from one profile to another is painful. This feature would simplify switching profiles (and setting their associated environment variables) by running the single aws configure export ... command.

Proposed Solution

#2454

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

any

Environment details (OS name and version, etc.)

any

@tim-finnigan
Copy link
Contributor

It looks like the feature has now been implemented via #7398. Please create a new issue for anything new related to this.

@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community configure feature-request A feature should be added or improved. p3 This is a minor priority issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants