And another thing, as mentioned by this guy:
--s3Endpoint
as s3.amazonaws.com
defaults to region us-east-1
causing the error
Exception in thread "main" com.amazonaws.services.s3.model.AmazonS3Exception: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'us-west-2'
You need to manually change s3Endpoint
for S3DistCp
in playbook.json
to your own region. In our case s3-eu-west-1.amazonaws.com