mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-21 07:21:40 -04:00
The S3 endpoint URLs don't always include the region name. See:
http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region
This mapping is already provided by `goamz` via `region.S3Endpoint`,
so let's use it.