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

make aws config local #964

Closed
hohwille opened this issue Nov 1, 2022 · 2 comments · Fixed by #1002
Closed

make aws config local #964

hohwille opened this issue Nov 1, 2022 · 2 comments · Fixed by #1002
Assignees
Labels
enhancement New feature or request

Comments

@hohwille
Copy link
Member

hohwille commented Nov 1, 2022

devonfw-ide started supporting aws CLI tool (see issue #711).
However, I noticed that the configuration remains global in the users home directory (in ~/.aws/ it creates files config and credentials).
Assuming you have two different projects for different customers with two different installations of devonfw-ide and their own aws CLI installation.
Now, these two should not interfere with each other so I should be able to do aws configure for both of them with totally different AWS accounts.
However, currently configuring one of them also configures the other and changes affect both/all installations.

Instead, we should tell aws to read the configuration from somewhere under ${DEVON_IDE_HOME}/conf/ (e.g. in aws or .aws subfolder).
Hint: We have archived the same already for tools like mvn (maven) or az (azure CLI).

@cinnamon-coder-hub
Copy link
Member

cinnamon-coder-hub commented Nov 22, 2022

While looking at this issue, I stumbled upon a setup problem. On my computer the msi file won't be installed.
It turned out, that powershell.exe -Command "Start-Process msiexec.exe -verb runas -Wait -ArgumentList '/I ${windows_path_to_package}\aws-*-windows.msi /quiet'" won't work on my computer, because the asterix sign * in aws-*-windows.msi won't be replaced by the version number. As it turned out, the problem was fixed by @CREITZ25 recently.

@CREITZ25
Copy link
Member

CREITZ25 commented Dec 9, 2022

This issue will be implemented together with #978 and #992

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants