-
Notifications
You must be signed in to change notification settings - Fork 9.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
resource data.aws_db_instance does not return address #12543
Labels
Comments
dmatthis-sm
changed the title
resource data.aws_db_instance does not return addres
resource data.aws_db_instance does not return address
Mar 8, 2017
Closed via #12623 |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
ghost
locked and limited conversation to collaborators
Apr 15, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This may be more of a feature request but currently data.aws_db_instance does not pull back the address for the RDS resource.
You can pull the information from aws cli
aws rds describe-db-instances
Wil show the endpoint with port and address. But currently the data resource in Terraform only returns a port option
I would like to see something like "db_address" to complement "db_port"
example:
`
data "aws_db_instance" "mydb" {
db_instance_identifier = "mydb"
}
return:
data.aws_db_instance.mydb.db_address
data.aws_db_instance.mydb.db_port
`
Note:
resource "aws_db_instance" "mydb"
already returns "aws_db_instance.mydb.address" but this is not helpful if you don't manage the db instance with terraform.The text was updated successfully, but these errors were encountered: