Skip to content

Releases: cloudposse/terraform-aws-dynamic-subnets

v2.0.0 IPv6 and alternate use cases

15 May 23:48
b0859c3
Compare
Choose a tag to compare

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

v2.0.0-rc5

14 May 00:00
Compare
Choose a tag to compare
v2.0.0-rc5 Pre-release
Pre-release

This is candidate code for the v2.0.0 release. It has breaking changes, documented here. If you want to use try it out, please do, and add comments to PR #159 if you find problems.

The highlights:

  • Full support for IPv6
  • Addresses nearly all open issues and PRs
  • More inputs made optional.
  • Additional control over whether or not certain resources are created.
  • Optional inputs converted to lists due to Terraform limitations.
  • subnet_type_tag_key deprecated.

Changes from v2.0.0-rc4: 2.0.0-rc4...2.0.0-rc5

v2.0.0-rc4

12 May 04:24
Compare
Choose a tag to compare
v2.0.0-rc4 Pre-release
Pre-release

This is candidate code for the v2.0.0 release. It has breaking changes, documented here. If you want to use try it out, please do, and add comments to PR #159 if you find problems.

The highlights:

  • Full support for IPv6
  • Addresses nearly all open issues and PRs
  • More inputs made optional.
  • Additional control over whether or not certain resources are created.
  • Optional inputs converted to lists due to Terraform limitations.
  • subnet_type_tag_key deprecated.

v2.0.0-rc2

12 May 01:23
Compare
Choose a tag to compare
v2.0.0-rc2 Pre-release
Pre-release

This is candidate code for the v2.0.0 release. It has breaking changes, documented here. If you want to use try it out, please do, and add comments to PR #159 if you find problems.

The highlights:

  • Full support for IPv6
  • More inputs made optional.
  • Additional control over whether or not certain resources are created.
  • Optional inputs converted to lists due to Terraform limitations.
  • subnet_type_tag_key deprecated.

v2.0.0-rc1

08 May 21:25
Compare
Choose a tag to compare
v2.0.0-rc1 Pre-release
Pre-release

This is candidate code for the v2.0.0 release. It has breaking changes, and is missing the migration documentation on how to upgrade from v1.0. Nevertheless, if you want to use try it out, please do, and add comments to PR #159 if you find problems.

The highlights:

  • Full support for IPv6
  • More inputs made optional.
  • Additional control over whether or not certain resources are created.
  • Optional inputs converted to lists due to Terraform limitations.
  • subnet_type_tag_key deprecated.

v1.0.0 Initial release with production Semantic Versioning

28 Apr 23:35
986386c
Compare
Choose a tag to compare

Initial release with production Semantic Versioning, part of Cloud Posse's general policy to convert to production versioning as we make updates to relatively mature modules, especially those where we see breaking changes coming in the near future.

  • This release is functionally equivalent to v0.40.1
  • We anticipate a v2.0.0 release in the very near future with breaking changes in the way we handle network ACLs
  • We will also be enhancing IPv6 support
Update testing framework @Nuru (#157)

what

  • Update testing framework
  • Fix and enable incomplete "existing IPs" test
  • Update git.io -> cloudposse.tools

why

  • Bring up to current standard
  • Better test coverage
  • EOL for git.io

v0.40.1

27 Apr 20:48
03b3277
Compare
Choose a tag to compare

🚀 Enhancements

Fixed deprecated warning, using network_interface_id instead @ktasper (#156)

what

Using the current version you get a deprecated warning:

│ Warning: Argument is deprecated
│ 
│   with module.dynamic-subnets.aws_route.nat_instance,
│   on .terraform/modules/dynamic-subnets/nat-instance.tf line 130, in resource "aws_route" "nat_instance":
│  130:   instance_id            = element(aws_instance.nat_instance.*.id, count.index)
│ 
│ Use network_interface_id instead

I have updated the code to use the recommended network_interface_id, as a result I have also had to point it to primary_network_interface_id.

v0.40.0

26 Apr 19:36
caed0e7
Compare
Choose a tag to compare
Adds ability to specify CPU credit type for NAT instances @bradj (#155)

what

  • Module allows user to specify either standard, unilimited, or the default credit specification for NAT instances
  • Updates to the credit specification will update the instance in place

why

  • Provides more predictable bills
  • No longer need to worry about how much bursting could cost

references

v0.39.8

15 Nov 16:50
345e71e
Compare
Choose a tag to compare

🚀 Enhancements

Bump providers @nitrocode (#146)

what

  • Bump providers

why

  • so consumers don't see errors based on new features used by this module

references

v0.39.7

19 Oct 02:37
ed71090
Compare
Choose a tag to compare

🤖 Automatic Updates

chore(deps): update terraform cloudposse/utils/aws to v0.8.1 @renovate (#143)

This PR contains the following updates:

Package Type Update Change
cloudposse/utils/aws (source) module patch 0.8.0 -> 0.8.1

Release Notes

cloudposse/terraform-aws-utils

v0.8.1

Compare Source

🚀 Enhancements

Chore: run `make github/init` @​korenyoni (#​13) #### what * Run `make github/init`. #### why * Updates `context.tf` to that of `0.25.0`, which adds supports for the `tenant` label. * Updates GHA-workflow-related files to their latest distribution. * This repository has been inactive for 60 days, so `auto-context` was disabled. #### references * https://github.com/cloudposse/terraform-null-label/releases/tag/0.25.0

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.