- Newest
- Most votes
- Most comments
Hi. Cloud9 uses ATMC(AWS Managed Temporary Credentials) by default but some action on specific service including IAM and STS are not permitted even if your IAM user has permission. In such case, use instance profile instead. Check the link as follows to setup.
https://docs.aws.amazon.com/cloud9/latest/user-guide/credentials.html
I am confused about "some action on specific service including IAM and STS are not permitted even if your IAM user has permission." Can you elaborate?
I still encountered the same error stating that the security token is invalid when creating roles. Here are the steps I took from https://docs.aws.amazon.com/cloud9/latest/user-guide/credentials.html
1) Create a role with Administrator access that contains an instance profile 2) Attach the role (instance profile) to the EC2 instance running Cloud9
By default Cloud9 can set up a Role when its created that grants pretty wide permissions. Are you passing additional roles or credentials in the CLI when you deploy?
Relevant content
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
I also get this error. I reproduced the error for my particular case below.