awslabs / aws-shell

An integrated shell for working with the AWS CLI.
Apache License 2.0
7.15k stars 770 forks source link

An error occured when create redshift cluster snapshot #175

Closed jingjingnfp closed 6 years ago

jingjingnfp commented 7 years ago

I installed aws cli on my local machine and try to write a command to mannually create a redshift cluster snapshot. I ran the command : +"aws redshift create-cluster-snapshot --cluster-identifier xxx --snapshot-identifier myfirstsnapshot" +I kept getting this error: "An error occurred (InvalidClientTokenId) when calling the CreateClusterSnapshot operation: The security token included in the request is invalid." + +I don't know why and couldn't find any solution.

joguSD commented 6 years ago

Have you run aws configure? Are you certain that the security token you're providing is still valid?