v3.0.0
Changes from 2.x to 3.x
Features & Enhancements
- IPAM vpcs no longer rely on the aws_vpc_ipam_preview_next_cidr resource. This is a breaking change for VPCs were built with this resource dependency, with a workaround available. Removing this dependency was the last major [known] sore thumb of this module. With this removed we can now build vpcs in the same module as IPAMs, or, more importantly, prefix lists / transit gateways in the same apply as the vpc.
- transit gateway id is now passed as a root level variable. Previously it was passed in var.subnets.transit_gateway.transit_gateway_id. While this was logically a nice way to organize variable references it lead to race conditions if you were trying to create a transit gateway in the same root module as the VPC call.
- route to transit gateway is now passed at a root level via variable transit_gateway_routes. Previously it was passed in var.subnets..route_to_transit_gateway. While this was logically a nice way to organize variable references it lead to race conditions if you were trying to create the prefix list in the same root module as the VPC call.
For help upgrading see our upgrading guide