You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few days ago we started to see errors in our automated terraform apply runs. The AWS provider was trying to revert the minor engine version update made by RDS. We quickly fixed this by matching the engine version input of this module to the version that RDS upgraded to.
Maybe this needs to be added to the cluster as well.
Versions
Terraform: v0.12.29
Provider(s):
+ provider.aws v2.70.0
+ provider.random v2.3.0
Module: v3.0.0
Reproduction
Steps to reproduce the behavior:
Create an Aurora Cluster with db_engine_version = 10.13 and auto_minor_version_upgrade = true
Allow RDS to perform the minor version upgrade during a maintenance window, upgrading the cluster engine version
Run terraform apply
Expected behavior
Terraform applies successfully.
Actual behavior
Terraform errors out with the following message:
module.provisioned_aurora.module.aurora.aws_rds_cluster.this[0]: Modifying... [id=stg-ue1-api-actions-db]
Error: Failed to modify RDS Cluster (stg-ue1-api-actions-db): InvalidParameterCombination: Cannot upgrade aurora-postgresql from 10.14 to 10.13
status code: 400, request id: b1b445e3-94ed-4b01-bb9d-b0137dbc7706
on .terraform/modules/provisioned_aurora.aurora/main.tf line 35, in resource "aws_rds_cluster" "this":
35: resource "aws_rds_cluster" "this" {
Exited with code exit status 1
Additional context
We are wrapping this module in our own module for convenience, that's why you see two module calls.
The text was updated successfully, but these errors were encountered:
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
A few days ago we started to see errors in our automated
terraform apply
runs. The AWS provider was trying to revert the minor engine version update made by RDS. We quickly fixed this by matching the engine version input of this module to the version that RDS upgraded to.We noticed that this module already ignores engine version lifecycle changes, but only on the cluster instances: https://github.com/terraform-aws-modules/terraform-aws-rds-aurora/blob/master/main.tf#L135
Maybe this needs to be added to the cluster as well.
Versions
v0.12.29
v3.0.0
Reproduction
Steps to reproduce the behavior:
db_engine_version = 10.13
andauto_minor_version_upgrade = true
terraform apply
Expected behavior
Terraform applies successfully.
Actual behavior
Terraform errors out with the following message:
Additional context
We are wrapping this module in our own module for convenience, that's why you see two module calls.
The text was updated successfully, but these errors were encountered: