Error
Error: error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid.
pavi03
2022. 3. 11. 17:48
[Terraform / AWS EC2]
provider "aws" {
access_key = "YOUR-ACCESS-KEY"
secret_key = "YOUR-SECRET-KEY"
region = "ap-northeast-2"
}
다음의 설정을 해줘야 한다.
access_key와 secret_key는 AWS IAM에서 User를 생성해서 발급받을 수 있다.