The aws_vpc_peering_connection datasource does not support IPv6 CIDR blocks #25746
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/vpc
Issues and PRs that pertain to the vpc service.
Milestone
Community Note
Description
The
aws_vpc_peering_connection
datasource only supports the IPv4 CIDR block/blocks of a VPC peering connection, but VPC peering connections can also involve IPv6 CIDR blocks.The necessary information is present in the
DescribeVpcPeeringConnections
->VpcPeeringConnectionVpcInfo
->ipv6CidrBlockSet
field.New or Affected Resource(s)
data.aws_vpc_peering_connection
newipv6_cidr_block_set
andpeer_ipv6_cidr_block_set
attributesPotential Terraform Configuration
The
aws_vpc_peering_connection
datasource is useful for automatically configuring theaws_route
resources for a VPC peering connection, but setting up the VPC routes for a dual-stack IPv4/IPv6 VPC peering connection currently requires the peer VPC IPv6 CIDR blocks to be provided manually as variables.The text was updated successfully, but these errors were encountered: