aws cli error (An error occurred (AuthFailure) AWS was not able to validate the provided access credentials)
Taegu Kang
1 min read
- outline
Timestamp of Authentication tokens get failure because server time on local machine is out of sync.
- error message
An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials
- resolution (WSL, ubuntu)
## chrony
apt -y install chrony
systemctl start chrony
systemctl enable chrony
## hwclock
hwclock -s
echo hwclock -s >> .bashrc
## ntpdate
apt install ntpdate -y
ntpdate -sb time.bora.net
echo ntpdate -sb time.bora.net >> .bashrc
0
Subscribe to my newsletter
Read articles from Taegu Kang directly inside your inbox. Subscribe to the newsletter, and don't miss out.
aws clierror An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials aws cli v2
Written by