You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// A list of IPv4 CIDR blocks to be authorized access to the instance, when
569
+
// A list of IPv4/IPv6 CIDR blocks to be authorized access to the instance, when
570
570
// packer is creating a temporary security group.
571
571
//
572
-
// The default is [`0.0.0.0/0`] (i.e., allow any IPv4 source).
572
+
// The default is [`0.0.0.0/0`] (i.e., allow any IPv4 source) and if ssh_interface is set as "ipv6" the default is [`::/0`] (i.e., allow any IPv6 source).
573
573
// Use `temporary_security_group_source_public_ip` to allow current host's
574
574
// public IP instead of any IPv4 source.
575
575
// This is only used when `security_group_id` or `security_group_ids` is not
@@ -650,7 +650,7 @@ type RunConfig struct {
650
650
// Communicator settings
651
651
Comm communicator.Config`mapstructure:",squash"`
652
652
653
-
// One of `public_ip`, `private_ip`, `public_dns`, `private_dns` or `session_manager`.
653
+
// One of `public_ip`, `private_ip`, `public_dns`, `private_dns`, `ipv6` or `session_manager`.
654
654
// If set, either the public IP address, private IP address, public DNS name
655
655
// or private DNS name will be used as the host for SSH. The default behaviour
656
656
// if inside a VPC is to use the public IP address if available, otherwise
@@ -662,6 +662,10 @@ type RunConfig struct {
662
662
// `<region>.compute.internal` included in the `NO_PROXY` environment
663
663
// variable.
664
664
//
665
+
// When using `ipv6` the VPC and subnet must be configured to support IPv6.
666
+
// The default VPC and subnets do not have ipv6 configured by default.
0 commit comments