aws-samples/cloud9-to-power-vscode-blog

The security token included in the request is invalid

srohit0 opened this issue · 2 comments

The script ssm-proxy.sh throws following error in vscode

An error occurred (UnrecognizedClientException) when calling the DescribeInstanceInformation operation: The security token included in the request is invalid.

Likely reason is mentioned in AWS Cloud 9 documentation of this error.

Proposed solution

One possible is to rewrite the script ssm-proxy.sh with Actions supported by AWS managed temporary credentials.