Skip to content

Commit 22939b4

Browse files
docs: update temporary_security_group_source_cidrs and ssh_interface for IPv6 support
1 parent 8376062 commit 22939b4

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs-partials/common/RunConfig-not-required.mdx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@
437437

438438
- `tenancy` (string) - Deprecated: Use Placement Tenancy instead.
439439

440-
- `temporary_security_group_source_cidrs` ([]string) - A list of IPv4 CIDR blocks to be authorized access to the instance, when
440+
- `temporary_security_group_source_cidrs` ([]string) - A list of IPv4/IPv6 CIDR blocks to be authorized access to the instance, when
441441
packer is creating a temporary security group.
442442

443-
The default is [`0.0.0.0/0`] (i.e., allow any IPv4 source).
443+
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).
444444
Use `temporary_security_group_source_public_ip` to allow current host's
445445
public IP instead of any IPv4 source.
446446
This is only used when `security_group_id` or `security_group_ids` is not
@@ -516,7 +516,7 @@
516516

517517
- `metadata_options` (MetadataOptions) - [Metadata Settings](#metadata-settings)
518518

519-
- `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, `private_dns` or `session_manager`.
519+
- `ssh_interface` (string) - One of `public_ip`, `private_ip`, `public_dns`, `private_dns`, `ipv6` or `session_manager`.
520520
If set, either the public IP address, private IP address, public DNS name
521521
or private DNS name will be used as the host for SSH. The default behaviour
522522
if inside a VPC is to use the public IP address if available, otherwise
@@ -528,6 +528,10 @@
528528
`<region>.compute.internal` included in the `NO_PROXY` environment
529529
variable.
530530

531+
When using `ipv6` the VPC and subnet must be configured to support IPv6.
532+
The default VPC and subnets do not have ipv6 configured by default.
533+
Refer: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-migrate-ipv6-add.html
534+
531535
When using `session_manager` the machine running Packer must have
532536
the AWS Session Manager Plugin installed and within the users' system path.
533537
Connectivity via the `session_manager` interface establishes a secure tunnel

0 commit comments

Comments
 (0)