github cloudposse/terraform-aws-dynamic-subnets 2.0.0
v2.0.0 IPv6 and alternate use cases

latest releases: 2.4.2, v2, 2.4.1...
2 years ago

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 is false
  • Some outputs have changed from tuple to list, 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

  • Full support for IPv6

why

  • Requested feature

references

  • Closes #21
  • Resolves #73
  • Fixes #120
  • Supersedes and closes #139
  • Supersedes and closes #147
  • Fixes #148
  • Supersedes and closes #151
  • Supersedes and closes #152
  • Fixes #153
  • Supersedes and closes #154

notes

  • Migration notes are here

Changes from v1.0.0: 1.0.0...2.0.0

Don't miss a new terraform-aws-dynamic-subnets release

NewReleases is sending notifications on new releases.