terraform-aws-rds-cluster
terraform-aws-rds-cluster copied to clipboard
Fix: InvalidParameterValue: CreateDBInstance error when creating non-aurora multi a-z rds cluster and aws provider update
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.- https://github.com/hashicorp/terraform-provider-aws/pull/25718
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.
references
- closes https://github.com/cloudposse/terraform-aws-rds-cluster/issues/148
- https://github.com/hashicorp/terraform-provider-aws/pull/25718
/test all
I think this change should have its own test. Maybe it can reuse on of the root modules in examples/ and use a custom tfvars to verify that this would work as expected
I think this change should have its own test. Maybe it can reuse on of the root modules in
examples/and use a custom tfvars to verify that this would work as expected
done. the test can be found at examples/postgres
/test all