aws cli error (An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials)

2022. 10. 6. 12:26AWS/AWS Command Line Interface

728x90
SMALL

- 개요

AWS CLI는 파일 변조 및 정합성을 위해 서버 시간과 서버 타임존이 AWS Config에 설정된 값과 일치 하지 않으면 에러가 발생한다.

 

 

- 에러 메세지

An error occurred (AuthFailure) when calling the DescribeInstances operation: AWS was not able to validate the provided access credentials

 

 

- 해결 (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

 

 

728x90
LIST