Wednesday, March 31, 2021

Intermittent Terraform Authentication Failure Using AWS Provider in a Vagrant VM

TL&DR: Client clock skew could result in AWS authentication failure when running terraform apply

When I wanted to compare AWS and Azure orchestration speeds I encountered a crazy Terraform error message when running terraform apply:

module.network.aws_vpc.My_VPC: Creating...

Error: Error creating VPC: AuthFailure: 
AWS was not able to validate the provided access credentials
        status code: 401, request id: ...

Obviously I did all the usual stuff before googling for a solution:



source https://blog.ipspace.net/2021/03/terraform-aws-authentication-failure.html?utm_source=atom_feed

No comments:

Post a Comment