I used AWS Cloud9, which has it's own .aws/credentials, also many examples only used an ID and a secret, but I got some errors about an invalid token.
When I configure everything manually, I get Cloud9 errors. It wants to manage the credentials by itself.
When I disable the c9 management, and reconfigure with serverless, the token goes missing.
In the end I had to add the administration privileges to my c9 user to get it to work and let c9 manage the credentials to have a valid token. Serverless would use the [default] credentials of c9.
I also wanted to add a [serverless] credential, but c9 stops updating the token if I change the file manually.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Give it a shot! If you run into issues let me know, glad to help!
Tried this today!
My first issue was the credentials.
I used AWS Cloud9, which has it's own
.aws/credentials
, also many examples only used an ID and a secret, but I got some errors about an invalid token.When I configure everything manually, I get Cloud9 errors. It wants to manage the credentials by itself.
When I disable the c9 management, and reconfigure with serverless, the token goes missing.
In the end I had to add the administration privileges to my c9 user to get it to work and let c9 manage the credentials to have a valid token. Serverless would use the
[default]
credentials of c9.I also wanted to add a
[serverless]
credential, but c9 stops updating the token if I change the file manually.