terratest
terratest copied to clipboard
Error configuring Terraform AWS Provider
Hi guys
I have a problem with AWS integrations when running my test on my CI/CD have this error:
_error configuring Terraform AWS Provider: error validating provider credentials: error calling sts:GetCallerIdentity: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: a0c96b55-24c7-40ae-b975-71d82008a12a, api error InvalidClientTokenId: The security token included in the request is invalid._
I verified my pipeline and have permission from the service account that has access to AWS.
We have an idea, what happens?
Hi, is MFA enabled for the used AWS account? usually, it requires some additional actions in case of MFA
https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/
Hi @denis256
Thanks for the answer, but actually my MFA is disabled, I only have AsumeRole and roles of AWS that give permission to create resources.