[Enhancement]: Update aws_rds_cluster.cluster_members
output to include IsClusterWriter
flag
#29568
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/rds
Issues and PRs that pertain to the rds service.
Description
Currently, there is no way to query an RDS cluster to find the instance id of the writer node. You can only get this information if you have access to the individual
aws_rds_cluster_instance
resources.The AWS CLI exposes this information in the
DBClusterMembers
property of theaws rds describe-db-clusters
API call.Affected Resource(s) and/or Data Source(s)
aws_rds_cluster
Potential Terraform Configuration
No response
References
https://docs.aws.amazon.com/cli/latest/reference/rds/describe-db-clusters.html#output
Would you like to implement a fix?
No
The text was updated successfully, but these errors were encountered: