IaC/Terraform Error Case
-
Backend Credential ErrorIaC/Terraform Error Case 2023. 9. 20. 01:11
다음과 같은 에러가 발생하면 Error: error configuring S3 Backend: error validating provider credentials: error calling sts:GetCallerIdentity: InvalidClientTokenId: The security token included in the request is invalid. 현재 설정된 backend가 위치한 클라우드의 storage에 대한 권한이 없는 상태이므로 발생하는 에러입니다. S3 backend의 경우, export AWS_PROFILE="YOUR PROFILE"이나 aws configure 명령어를 통한 AWS profile의 설정을 하면 해결됩니다. Google Cloud Storage(GCS)의 경..