Releases: cloudposse/terraform-aws-rds-cluster
v1.10.0
reopen #192 @finchr (#213)
what
I implemented create_before_destroy on the aws_rds_cluster_instance default instances.
Originally in #192 but that was closed for reasons we won't go into here.
why
Making a change to any parameter that triggers a replace on a aws_rds_cluster_instance results in all instances being destroyed before attempting to create a new instance which causes an outage. This a faster (and safer) altenative to #191
v1.9.1
Support restoring to a specific time @ericluria (#216)
what
- Adds
restore_to_timeas an attribute of therestore_to_point_in_timeparameter, allowing to restore to a specific datetime rather than the latest restorable time.
why
- Fixes missing functionality that's supported by the
aws_rds_clusterresource.
references
- Closes #163
questions
I noticed while making this PR that source_cluster_identifier defaults to "120m", which looks like an inadvertent copy-and-paste from another parameter. In the aws_rds_cluster resource, this parameter is required, so it doesn't make sense to have a default anyway. Would you recommend leaving this parameter as-is, or should we fix it?
edit: fixed as part of this PR
🤖 Automatic Updates
Update release workflow to allow pull-requests: write @osterman (#214)
what
- Update workflow (
.github/workflows/release.yaml) to have permission to comment on PR
why
- So we can support commenting on PRs with a link to the release
Update GitHub Workflows to use shared workflows from '.github' repo @osterman (#212)
what
- Update workflows (
.github/workflows) to use shared workflows from.githubrepo
why
- Reduce nested levels of reusable workflows
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#211)
what
- Update workflows (
.github/workflows) to addissue: writepermission needed by ReviewDogtflintaction
why
- The ReviewDog action will comment with line-level suggestions based on linting failures
v1.9.0
add option for enabling global write forwarding @tdockseydt (#186)
what
Add option for enabling global write forwarding for aws rds cluster.
why
- Ability to enable global write forwarding across our aws rds clusters.
- https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-global-database-write-forwarding-apg.html
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#enable_global_write_forwarding
🤖 Automatic Updates
Bump google.golang.org/grpc from 1.51.0 to 1.56.3 in /test/src @dependabot (#204)
Bumps google.golang.org/grpc from 1.51.0 to 1.56.3.
Release notes
Sourced from google.golang.org/grpc's releases.
Release 1.56.3
Security
server: prohibit more than MaxConcurrentStreams handlers from running at once (CVE-2023-44487)
In addition to this change, applications should ensure they do not leave running tasks behind related to the RPC before returning from method handlers, or should enforce appropriate limits on any such work.
Release 1.56.2
- status: To fix a panic,
status.FromErrornow returns an error withcodes.Unknownwhen the error implements theGRPCStatus()method, and callingGRPCStatus()returnsnil. (#6374)Release 1.56.1
- client: handle empty address lists correctly in addrConn.updateAddrs
Release 1.56.0
New Features
- client: support channel idleness using
WithIdleTimeoutdial option (#6263)
- This feature is currently disabled by default, but will be enabled with a 30 minute default in the future.
- client: when using pickfirst, keep channel state in TRANSIENT_FAILURE until it becomes READY (gRFC A62) (#6306)
- xds: Add support for Custom LB Policies (gRFC A52) (#6224)
- xds: support pick_first Custom LB policy (gRFC A62) (#6314) (#6317)
- client: add support for pickfirst address shuffling (gRFC A62) (#6311)
- xds: Add support for String Matcher Header Matcher in RDS (#6313)
- xds/outlierdetection: Add Channelz Logger to Outlier Detection LB (#6145)
- Special Thanks:
@s-matyukevich- xds: enable RLS in xDS by default (#6343)
- orca: add support for application_utilization field and missing range checks on several metrics setters
- balancer/weightedroundrobin: add new LB policy for balancing between backends based on their load reports (gRFC A58) (#6241)
- authz: add conversion of json to RBAC Audit Logging config (#6192)
- authz: add support for stdout logger (#6230 and #6298)
- authz: support customizable audit functionality for authorization policy (#6192 #6230 #6298 #6158 #6304 and #6225)
Bug Fixes
- orca: fix a race at startup of out-of-band metric subscriptions that would cause the report interval to request 0 (#6245)
- xds/xdsresource: Fix Outlier Detection Config Handling and correctly set xDS Defaults (#6361)
- xds/outlierdetection: Fix Outlier Detection Config Handling by setting defaults in ParseConfig() (#6361)
API Changes
- orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#6223)
Release 1.55.1
- status: To fix a panic,
status.FromErrornow returns an error withcodes.Unknownwhen the error implements theGRPCStatus()method, and callingGRPCStatus()returnsnil. (#6374)Release 1.55.0
Behavior Changes
... (truncated)
Commits
1055b48Update version.go to 1.56.3 (#6713)5efd7bdserver: prohibit more than MaxConcurrentStreams handlers from running at once...bd1f038Upgrade version.go to 1.56.3-dev (#6434)faab873Update version.go to v1.56.2 (#6432)6b0b291status: fix panic when servers return a wrapped error with status OK (#6374) ...ed56401[PSM interop] Don't fail target if sub-target already failed (#6390) (#6405)cd6a794Update version.go to v1.56.2-dev (#6387)5b67e5eUpdate version.go to v1.56.1 (#6386)d0f5150client: handle empty address lists correctly in addrConn.updateAddrs (#6354) ...997c1eaChange version to 1.56.1-dev (#6345)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR- `@dep...
v1.8.0
v1.7.1
Allow to configure storage type for global databases @bentmann (#189)
what
Use existing storage_type variable for global DBs, too. Currently, it is only set for regional clusters.
why
Aurora clusters offer two different storage types, standard and I/O-Optimized. Which one is employed for clusters in a global DB should be configurable to be able to realize cost savings that I/O-Optimized offers for certain workloads.
references
- https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/rds_cluster#storage_type
- https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_ModifyDBCluster.html
- https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.StorageReliability.html#aurora-storage-type
🤖 Automatic Updates
Update README.md and docs @cloudpossebot (#187)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
v1.7.0
Add serverlessv2 config to aws_rds_cluster.secondary @asmithdt (#181)
what
Add missing config to aws_rds_cluster.secondary
why
Error: creating RDS Cluster (<redacted>) Instance (<redacted>): InvalidDBClusterStateFault: Set the Serverless v2 scaling configuration on the parent DB cluster before creating a Serverless v2 DB instance.
│ status code: 400, request id:
Tested on my cluster and confirmed to work when a serverless configuration is provided.
v1.6.0
Add `parameter_group_name_prefix_enabled` variable. Update examples and tests @aknysh (#179)
what
- Add
parameter_group_name_prefix_enabledvariable (defaults totrueto maintain the current functionality) - Allow using both the
nameandname_prefixattributes inaws_rds_cluster_parameter_groupandaws_db_parameter_groupresources - 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
nameattribute (which was the only option in the old versions of the module) instead ofname_prefixattribute - 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_instanceresource when engine type isNOTaurora,aurora-mysql,aurora-postgresql - AWS provider has a bug that is causing the terraform apply to fail due to a missing
rebootingstate. 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
rebootingstate when creating multi a-z cluster.