Skip to content

Not able to specify assign_ipv6_address_on_creation for subnets #185

@chrissam

Description

@chrissam

I don't find a way to specify assign_ipv6_address_on_creation for subnets in the vpc module, which is available as part of aws_subnet resource.

### Sample vpc config:

module "vpc" { source = "terraform-aws-modules/vpc/aws"	version = "1.46.0" name = "${var.vpc_name}" cidr = "${var.vpc_cidr_block}" azs = "${var.availability_zones}" private_subnets = "${var.private_subnets}" public_subnets = "${var.public_subnets}" enable_nat_gateway = true enable_vpn_gateway = true assign_generated_ipv6_cidr_block = true	assign_ipv6_address_on_creation = true tags = { Terraform = "true" } } 

Result:
Error: module "vpc": "assign_ipv6_address_on_creation" is not a valid argument

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions