Skip to content

CreateVPC can't create IPv6 only VPC #9467

@aRustyDev

Description

@aRustyDev

Describe the bug

$ aws ec2 create-vpc --ipv6-ipam-pool-id <ipam-pool-id> --ipv6-netmask-length 56

An error occurred (MissingParameter) when calling the CreateVpc operation: Either 'cidrBlock' or 'ipv4IpamPoolId' should be provided.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Should successfully create an IPv6 Only VPC

Following the directions from a terraform managed terraform-module for creating a VPC also fails (b/c its likely an API/CLI issue)

Current Behavior

$ aws ec2 create-vpc --ipv6-ipam-pool-id <ipam-pool-id> --ipv6-netmask-length 56

An error occurred (MissingParameter) when calling the CreateVpc operation: Either 'cidrBlock' or 'ipv4IpamPoolId' should be provided.

Reproduction Steps

  1. create a IPv6_IPAM_Pool independently
  2. Get the Pool Id of the above
  3. run aws ec2 create-vpc --ipv6-ipam-pool-id <ipam-pool-id> --ipv6-netmask-length 56

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws-cli/2.11.8 Python/3.11.2 Darwin/24.4.0 exe/x86_64 prompt/off

Environment details (OS name and version, etc.)

Darwin mybox 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:28:23 PDT 2025; root:xnu-11417.101.15~117/RELEASE_X86_64 x86_64

Metadata

Metadata

Assignees

Labels

p3This is a minor priority issuevpc

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions