Skip to content

Remove the need for AWS credentials #32

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

Open
vmtzkr opened this issue Jan 19, 2021 · 0 comments
Open

Remove the need for AWS credentials #32

vmtzkr opened this issue Jan 19, 2021 · 0 comments

Comments

@vmtzkr
Copy link

vmtzkr commented Jan 19, 2021

Hello,
I really appreciate this plugin, but currently experience an issue when no environment variables for the AWS credentials are set. After sls offline start the 5 seconds timeout occurs and I see following output.

Credentials Error --------------------------------------

Error: connect EHOSTUNREACH 169.254.169.254:80 - Local (192.168.101.1:49673)
at internalConnect (net.js:923:16)
at defaultTriggerAsyncIdScope (internal/async_hooks.js:364:12)
at net.js:1011:9
at processTicksAndRejections (internal/process/task_queues.js:79:11)
at runNextTicks (internal/process/task_queues.js:66:3)
at processTimers (internal/timers.js:494:9)

I don't have any credentials in the ~/.aws/ folder, since I'm using temporary tokens generated by the AWS SSO service. Would it be possible to add following configuration variables accessKeyId and secretAccessKey as in this referenced plugin? This way it would be possible to run this plugin without any AWS credentials set.

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

1 participant