Releases: cloudposse/terraform-aws-rds-cluster
Releases · cloudposse/terraform-aws-rds-cluster
v1.6.0
Add `parameter_group_name_prefix_enabled` variable. Update examples and tests @aknysh (#179)
what
- Add
parameter_group_name_prefix_enabled
variable (defaults totrue
to maintain the current functionality) - Allow using both the
name
andname_prefix
attributes inaws_rds_cluster_parameter_group
andaws_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 ofname_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
- No changes
v1.4.0
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
🚀 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 isNOT
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 release4.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
🚀 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
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
- Closes #146
v1.2.1
🚀 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
- Resolve
Invalid count argument
errors when the zone doesn't exist yet - This is the same logic from the redis module and it works well: https://github.com/cloudposse/terraform-aws-elasticache-redis/blob/master/variables.tf
v1.2.0
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
Support for storage variables @matharoo (#141)
what
- Add support for storage variables
storage_type
,iops
andallocated_storage
. - Fix broken tests
why
- Be able to specify the size and type of storage of the database in the cluster.
references
- closes #140
aws_rds_cluster
v1.0.0 Aurora Serverless V2 support @topikachu
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