|
|
|
|
@ -225,8 +225,8 @@ builder.
|
|
|
|
|
[`ssh_private_key_file`](/docs/templates/communicator.html#ssh_private_key_file)
|
|
|
|
|
must be specified with this.
|
|
|
|
|
|
|
|
|
|
- `ssh_private_ip` (boolean) - If `true`, then SSH will always use the private
|
|
|
|
|
IP if available. Also works for WinRM. Overrides `ssh_interface`.
|
|
|
|
|
- `ssh_private_ip` (boolean) - *Deprecated* use `ssh_interface` instead. If `true`,
|
|
|
|
|
then SSH will always use the private IP if available. Also works for WinRM.
|
|
|
|
|
|
|
|
|
|
- `ssh_interface` (string) - One of `public_ip`, `private_ip`,
|
|
|
|
|
`public_dns` or `private_dns`. If set, either the public IP address,
|
|
|
|
|
@ -235,6 +235,9 @@ builder.
|
|
|
|
|
otherwise the private IP address will be used. If not in a VPC the public DNS name
|
|
|
|
|
will be used.
|
|
|
|
|
|
|
|
|
|
If packer is configured for an outbound proxy. To configure WinRM traffic to bypass the proxy
|
|
|
|
|
`ssh_interface` can be set to `private_dns`.
|
|
|
|
|
|
|
|
|
|
- `subnet_id` (string) - If using VPC, the ID of the subnet, such as
|
|
|
|
|
`subnet-12345def`, where Packer will launch the EC2 instance. This field is
|
|
|
|
|
required if you are using an non-default VPC.
|
|
|
|
|
|