Skip to content

Releases: cloudposse/terraform-aws-rds-cluster

v1.6.0

06 Oct 20:36
1f487bb
Compare
Choose a tag to compare
Add `parameter_group_name_prefix_enabled` variable. Update examples and tests @aknysh (#179)

what

  • Add parameter_group_name_prefix_enabled variable (defaults to true to maintain the current functionality)
  • Allow using both the name and name_prefix attributes in aws_rds_cluster_parameter_group and aws_db_parameter_group resources
  • Update tests to the latest versions
  • Update examples to use the corerct combinations of DB instance classes and DB engine versions

why

  • Allow updating old Aurora clusters, which were provisioned with the old versions of the module, to the latest version of the module without rebooting the DB instances. Old clusters, provisioned with the old versions of the module, use the name attribute (which was the only option in the old versions of the module) instead of name_prefix attribute
  • Updating the parameter group causes the DB instance to reboot, which could cause a downtime. Depending on the size of the database, the downtime could take some amount of time not suitable for production clusters (after reboot, the database will go through all the recovery points and logs, and depending on the database size, it could take some time)
When you associate a new DB parameter group with a DB instance, 
the modified static and dynamic parameters are applied only after the DB instance is rebooted. 
However, if you modify dynamic parameters in the DB parameter group after you associate it with the DB instance, 
these changes are applied immediately without a reboot.

references

Support AWS Provider V5 @max-lobur (#170)

what

Support AWS Provider V5
Linter fixes

why

Maintenance

references

https://github.com/hashicorp/terraform-provider-aws/releases/tag/v5.0.0

Sync github @max-lobur (#167)

Rebuild github dir from the template

v1.5.0

17 May 09:08
2235dea
Compare
Choose a tag to compare
  • No changes

v1.4.0

10 Mar 02:44
2235dea
Compare
Choose a tag to compare
Support for Activity Stream added @ngoyal16 (#159)

what

  • Allow to create Activity Stream for RDS Cluster

Added by @Nuru:

  • Move PostgreSQL testing to proper test region (us-east-2)
  • Fix expected subnet CIDR due to fewer availability zones in us-east-2 than us-east-1
  • Increase test parallelism so that tests complete in under 60 minutes

why

  • Can be used to enable and activity stream from the cluster module itself

v1.3.2

31 Aug 16:35
3d2e16a
Compare
Choose a tag to compare

🚀 Enhancements

Fix: InvalidParameterValue: CreateDBInstance error when creating non-aurora multi a-z rds cluster and aws provider update @matharoo (#149)

what

  • For a multi a-z rds cluster skip creating aws_rds_cluster_instance resource when engine type is NOT aurora, aurora-mysql, aurora-postgresql
  • AWS provider has a bug that is causing the terraform apply to fail due to a missing rebooting state. I have a PR merged with terraform-aws-provider that fixes it and will be included in the next release 4.23.0.

why

  • Prevent terraform from crashing when creating a non-aurora multi a-z cluster.
  • aws provider update for fixing rebooting state when creating multi a-z cluster.

references

v1.3.1

23 Jul 15:04
c8eceb3
Compare
Choose a tag to compare

🚀 Enhancements

Fix: Upgrading DB version fails with InvalidParameterCombination for instance parameter group @addavid (#151)

what

  • Pass a value to db_instance_parameter_group_name argument when allow_major_version_upgrade is true.

why

  • When absent, the upgrade process would fail with InvalidParameterCombination exception thrown from AWS provider.

references

v1.3.0

10 Jul 15:03
49599ef
Compare
Choose a tag to compare
Fix missing required db_cluster_instance_class variable for multi a-z rds cluster @matharoo (#147)

what

  • Adding missing required db_cluster_instance_class variable when creating a provisioned multi a-z rds cluster.

why

  • Prevent failure when doing a terraform apply to create the multi a-z rds cluster.

references

v1.2.1

07 Jul 16:50
6f78dfe
Compare
Choose a tag to compare

🚀 Enhancements

Resolve Invalid count argument errors by accepting zone_id as a list @woz5999 (#144)

what

  • Support a list for zone_id
  • Retain legacy support for a string zone_id

why

v1.2.0

05 Jul 20:58
e83b697
Compare
Choose a tag to compare
allow traffic inside security group @kevcube (#145)

boolean flag to enable intra-security group communication.

why

  • we create our app infrastructure beginning with the database, then we use the output security group ID that gets created by Postgres as an input in our application, to give it database access
  • previously what we've done is create the database, create the app, and add the app security group to the database's inputs, but this makes circular dependencies because our app depends on other outputs of the database

v1.1.0

16 Jun 21:42
5208242
Compare
Choose a tag to compare
Support for storage variables @matharoo (#141)

what

  • Add support for storage variables storage_type, iops and allocated_storage.
  • Fix broken tests

why

  • Be able to specify the size and type of storage of the database in the cluster.

references

v1.0.0 Aurora Serverless V2 support @topikachu

14 Jun 03:05
c4f3df3
Compare
Choose a tag to compare

This release adds Aurora Serverless V2 support thanks to @topikachu.

The v1.0.0 designation is not especially significant. It is part of Cloud Posse's general policy to convert to production Semantic Versioning as we make updates to relatively mature modules.

Add aurora serverlessv2 support @topikachu (#138)

what

  • Add aurora serverlessv2 support

why

  • AWS releases aurora serverless v2.
  • Adopt this new feature in this rds cluster module

references

Update test-framework to current @Nuru (#142)

what

  • Update test-framework to current

why

  • Enable parallel testing
  • Bug fixes
git.io->cloudposse.tools update @dylanbannon (#136)

what and why

Change all references to git.io/build-harness into cloudposse.tools/build-harness, since git.io redirects will stop working on April 29th, 2022.

References

  • DEV-143