Version v2.0.0 has breaking changes, documented here.
The highlights:
- Full support for IPv6
- Addresses nearly all open issues and PRs against version 1
- More inputs made optional, allowing you, among other things, to create subnets without direct access to the public internet
- Additional control over whether or not certain resources are created, allowing you to substitute your own resources (e.g. a combination bastion host and NAT instance instead of the NAT instance this module creates)
- Additional outputs allowing you to connect and configure outside resources to work with this module's resources
- Ability to use a single NAT Gateway to cover all the private subnets (for cost savings in non-critical environments)
- Optional inputs converted to lists due to Terraform limitations.
subnet_type_tag_key
deprecated.
Known issues:
- Public subnets are not properly configured when
private_subnets_enabled
isfalse
- Some outputs have changed from
tuple
tolist
, causing plans to contain confusing output like:
Changes to Outputs:
~ private_subnet_cidrs = [
- "172.16.0.0/19",
- "172.16.32.0/19",
] -> [
+ "172.16.0.0/19",
+ "172.16.32.0/19",
]
See hashicorp/terraform#31102 for details.
Details:
Overhaul for IPv6 and flexiblity @Nuru (#159)
what
why
references
notes
Changes from v1.0.0: 1.0.0...2.0.0