简体   繁体   中英

AWS copilot on Cloud9 InvalidClientTokenId: The security token included in the request is invalid (status code: 403)

On Execution of command below from AWS Cloud9

copilot app delete 

Getting message as:

 execute svc delete: delete service: delete stack demoappone-test-lbdemoappone: InvalidClientTokenId: The security token included in the request is invalid
        status code: 403, request id: 5001e2d0-3bbc-4821-911c-27713af4f2f9

AWS Cloud9 points to document https://docs.aws.amazon.com/cloud9/latest/user-guide/welcome.html .

Do we know how to solve above 403 error?

This appears to be because Cloud9 has a limited set of allowed actions that're supported for AWS managed temporary credentials . (For the troubleshooting guide: link )

The way that the ECS workshop gets around it is by creating and storing access credentials in the environment: sample solution . (For the Cloud9 guide: link )

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM