Docker Machine Error Authenticating AWS
If you are getting the following error:
▲ Development/WW/control-plane-enroller: docker-machine create --driver amazonec2 --amazonec2-secret-key 7SZF3I9WlOalrYlt70bdYIs0QXvPQ4RkKOvp3p5a --amazonec2-access-key ASIAJGE7AA7M25YUBBXA --amazonec2-vpc-id vpc-ef119087 --amazonec2-zone a --amazonec2-region us-east-2 --amazonec2-instance-type m4.large mongodb-enroller Running pre-create checks... Error with pre-create check: "AuthFailure: AWS was not able to validate the provided access credentials\n\tstatus code: 401, request id: ceb14158-3ea1-4621-a7ad-f28a545d27ec"
It could be due to clock drift, and there are different ways to solve it as explained here: