Revert "Changing --region to --location"
This reverts commit f40fd36c31
.
According to the documentation below, `--region` is the current flag. If you're
using an older version of the tools that use `--location`, you can customize the
commands in your Packer config with `bundle_vol_command` and `bundle_upload_command`
- http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/CLTRG-ami-upload-bundle.html
- https://www.packer.io/docs/builders/amazon-instance.html
This commit is contained in:
parent
23a48d6619
commit
8c321138f4
|
@ -80,7 +80,7 @@ func (b *Builder) Prepare(raws ...interface{}) ([]string, error) {
|
|||
"-s {{.SecretKey}} " +
|
||||
"-d {{.BundleDirectory}} " +
|
||||
"--batch " +
|
||||
"--location {{.Region}} " +
|
||||
"--region {{.Region}} " +
|
||||
"--retry"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue