-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
CDK requires presence of ~/.aws/credentials #540
Comments
RomainMuller
added a commit
that referenced
this issue
Aug 10, 2018
The JS SDK assumes the file exists when it is passed as an argument, so this change makes the CDK Toolkit check for file existence before passing down to the SDK layer. Additionally, the SDK "ini file" re-implementation failed to check for file existece before attempting to load file contents. Fixes #540
RomainMuller
added a commit
that referenced
this issue
Aug 14, 2018
The JS SDK assumes the file exists when it is passed as an argument, so this change makes the CDK Toolkit check for file existence before passing down to the SDK layer. Additionally, the SDK "ini file" re-implementation failed to check for file existece before attempting to load file contents. Fixes #540
I just experienced this bug again in a different context. While bootstrapping, cdk requires this file even if it's empty and the parameters are coming out of the environment variables. |
The bug is still around |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The CDK requires presence of the
~/.aws/credentials
file in order to operate, due to a mis-configuration of theCredentialsProvider
used by the toolkit.A workaround is to create a blank
~/.aws/credentials
file if you don't currently have one.The text was updated successfully, but these errors were encountered: