Skip to content

Releases: cloudposse/terraform-aws-multi-az-subnets

v0.15.0

08 Apr 19:14
9c5ef29
Compare
Choose a tag to compare
Add ipv6 support @cdobbyn (#55)

what

  • Add IPv6 subnet provisioning
  • Assumes that the subnet created at the end must be a /64 (as per AWS).
  • Only applies to public subnets. This could be added to private (with no default destination route ::/0) if others think this is necessary. There is no concept of NAT in AWS VPC IPv6.

why

  • We have a requirement to offer dualstack workloads.
  • Today we have to do this manually and if using this module, separate subnets need to be created.

references

v0.14.2

05 Nov 00:56
b2edab8
Compare
Choose a tag to compare

🚀 Enhancements

Add tags to EIP resource. @mayankgupta57 (#57)

what

The module is adding tags to all the resources except the EIP resource. We should add the same set of tags to that as well.

why

Adding tags to EIP resources has many advantages.

  • Compliance requirement.
  • Easy to understand the use by tags.

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/eip#tags

v0.14.1

21 Aug 03:16
5e34e3e
Compare
Choose a tag to compare

🤖 Automatic Updates

Update context.tf @cloudpossebot (#54)

what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

v0.14.0

07 Jun 23:04
d3fb4e7
Compare
Choose a tag to compare
Add cidr block output per AZ @cdobbyn (#53)

what

No resource changes at all.
Add subnet_cidr_block to the output_map and az_subnet_cidr_blocks as an output.

why

This is helpful when you want to assign something like the 4th IP in a subnet rather than allowing DHCP to do it's thing.

references

n/a

v0.13.0

10 May 17:20
dac8804
Compare
Choose a tag to compare
Do not require NAT gateway IDs for private subnets @Nuru (#51)

what

  • Do not require NAT gateway IDs for private subnets

why

  • Users should be able to create subnets without NAT gateways
  • Implemented in #48, which was closed in favor of #50, but #50 left this feature out

references

v0.12.1

04 May 04:26
0027646
Compare
Choose a tag to compare

🐛 Bug Fixes

Fix case where nat_gateway_enabled is false @Nuru (#50)

what

  • Fix #44 where setting nat_gateway_enabled=false caused an error
  • Add test case for nat_gateway_enabled=false
  • Supersedes and closes #48, thank you @paulrob-100 for the inspiration

why

  • Bugfix

v0.12.0 Disruptive Change

26 Apr 07:47
4e3780d
Compare
Choose a tag to compare

Not exactly a breaking change, but likely a disruptive one. The previous version was broken in its handling of the enabled flag. Upon review, we saw it was also fragile, dependent on the order in which you specified availability zones.

To fix these problems and for several other reasons, we switched from using count to enumerate resources that are allocated in each availability zone (AZ) to using for_each with the AZ name as the key. While this has many advantages going forward, it does mean that switching to this version will likely cause Terraform to try to destroy and recreate your subnets, which will fail if you have things provisioned in them. The structure of the Terraform has not changed substantially, so you can fix this by using terraform state rm and terraform import.

You might also take this opportunity to switch to using our more popular terraform-aws-dynamic-subnets module.

Fix variable enabled=false results in errors @paulrob-100 (#47)

what

  • Fix #46
  • Incorporates, supersedes, and closes #45
  • Incorporates, supersedes, and closes #41
  • Add local availability_zones which is empty if disabled
    • private_count and public_count are either 0 if disabled or the length of the local.availability_zones list
    • therefore aws resource counts will not reference empty list in element function
    • also guaranteed to have same number of elements in zipmap function
  • Added convenience local lists of tuples for outputs
  • Note az_ngw_ids is now an empty map if disabled - previously a map of constant "0"
  • dummy_az_ngw_ids is no longer referenced so remove
  • Transform local lists of tuples to output maps
    • since private_count and public_count are not both >0, no ellipsis needed in transform, producing single map value
    • output maps are all empty if disabled

why

  • Users should be able to set the enabled flag to false
  • This is useful when used in conjunction with the terraform-yaml-stack-config module where subnets may be disabled but yaml configuration ready to flip the flag

references

v0.11.0

09 Feb 02:18
5e04ef2
Compare
Choose a tag to compare
context.tf updated to v0.24.1, minimum required Terraform version bumped to 0.13.0 when needed, readme updated @maximmi (#38)

what

  • update context.tf to v0.24.1
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added

why

  • It allows for setting the letter case of tag names and labels, back compatibility with context v0.22.0 and below
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant

v0.10.1

05 Feb 03:13
7988362
Compare
Choose a tag to compare

🤖 Automatic Updates

Update context.tf @cloudpossebot (#39)

what

This is an auto-generated PR that updates the context.tf file to the latest version from cloudposse/terraform-null-label

why

To support all the features of the context interface.

v0.10.0

04 Feb 07:18
a9191d1
Compare
Choose a tag to compare
minimum required Terraform version bumped to 0.13.0, context.tf updated, readme updated @maximmi (#37)

what

  • update context.tf to v0.23.0
  • minimum required Terraform version bumped to 0.13.0
  • readme updated, Bridgecrew compliance badges added

why

  • It allows for setting the letter case of tag names and labels
  • we have dropped support for Terraform 0.12
  • To be able see and fix the recommendations from Bridgecrew so we can position our modules as standards compliant