2

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?

Jonathan Leffler
  • 730,956
  • 141
  • 904
  • 1,278
Pawan Mude
  • 1,609
  • 6
  • 19
  • 32

1 Answers1

0

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)

Efe Karakus
  • 101
  • 2
  • 8