RDS replica creation requires double apply #2909
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Milestone
Terraform Version
Affected Resource(s)
aws_db_instance
Terraform Configuration Files
Expected Behavior
There are no changes to be applied after an execution of
terraform apply
.Actual Behavior
There are changes to be applied:
Steps to Reproduce
terraform apply
terraform plan
Important Factoids
CreateDBInstanceReadReplica
action only allows for a subset of parameters to be applied on creation.Iiuc the limitations of the
CreateDBInstanceReadReplica
AWS API call is the issue. Certain parameters can not be configured during DB creation but must be changed after creation. Is there some way for terraform to circumvent the limitations of the AWS API in this situation? E.g. by creating and then updating thedb_instance
in one apply execution.I would be more than willing to work on a PR to resolve this issue, assuming it is within the realm of fixability.
The text was updated successfully, but these errors were encountered: