RDS cluster instance group parameter name has no drift detection #30245
Labels
bug
Addresses a defect in current functionality.
service/rds
Issues and PRs that pertain to the rds service.
Description
The
DBInstanceParameterGroupName
field only appears in ModifyDBCluster, but not CreateDBCluster or DescribeDBClusters.The current APIs pose potential problems for Terraform users:
I've opened a support case with AWS for confirmation that this field is intended to be sent during modification of an existing cluster only. Ideally these fields would be exposed in the
Create
input andDescribe
output structs for consistency, providing the ability to properly detect drift. However, given the current state we should send thedb_instance_parameter_group_name
attribute:The new behavior prevents cases where the remote value has changed and the inability to read the existing value causes this parameter to be (incorrectly) omitted. Drift still cannot be detected on this attribute, but by always sending the value when set we at least ensure that the desired configuration is sent every time a modification is made.
References
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: