terraform-provider-aws
terraform-provider-aws copied to clipboard
[New Data Source]: `aws_db_proxy_endpoint`
Description
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/db_proxy_endpoint seems to be missing a data source counterpart - there's aws_db_proxy but no aws_db_proxy_endpoint
Requested Resource(s) and/or Data Source(s)
- aws_db_proxy_endpoint
Potential Terraform Configuration
No response
References
No response
Would you like to implement a fix?
None
Community Note
Voting for Prioritization
- Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
- Please see our prioritization guide for information on how we prioritize.
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
Volunteering to Work on This Issue
- If you are interested in working on this issue, please leave a comment.
- If this would be your first contribution, please review the contribution guide.
I believe you can achieve this by using the db_proxy data source.
@trutled3 How? I assumed its endpoint attr to be the single default endpoint; if that's a list/set it isn't documented (nor phrased like there could be a plurality of endpoints).
edit: Yes it's a string: https://github.com/hashicorp/terraform-provider-aws/blob/main/internal%2Fservice%2Frds%2Fproxy_data_source.go#L62-L65
Presumably the default one.