I installed the ec2 api following the amazon guide. I setted up the access id and secret as environment variable.
Here it is my profile:
expor
AWS CLI was working fine for me but all of a sudden it started failing with the following error
A client error (AuthFailure) occurred when calling the DescribeTags operation: AWS was not able to validate the provided access credentials
Tried with a new set of credentials, however that did not help.
It worked only after stop-start was performed on the EC2 instance (reboot might have also worked). Hence, it appears to be an issue with the particular EC2 instance from where the aws cli was executed.