Add a aws_rds_cluster_instance data source or add cluster type info to the aws_rds_instance data source #9739
Labels
enhancement
Requests to existing resources that expand the functionality or scope.
service/rds
Issues and PRs that pertain to the rds service.
stale
Old or inactive issues managed by automation, if no further action taken these will get closed.
Community Note
Description
Right now it is impossible to get enough info for a rds instance to know if it is a reader or writer because the
aws_db_instance
data source does not return things like writer=true|false.So can we either add a new data source for
aws_rds_cluster_instance
or just add some more return values toaws_db_instance
. i am not sure what you guys normally do when there are very similar resources with slightly different properties.New or Affected Resource(s)
Potential Terraform Configuration
Something close to what I am attempting:
This is not working code but the idea is there.
The text was updated successfully, but these errors were encountered: