Skip to content
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

Closed
dmatthis-sm opened this issue Mar 8, 2017 · 2 comments
Closed

resource data.aws_db_instance does not return address #12543

dmatthis-sm opened this issue Mar 8, 2017 · 2 comments

Comments

@dmatthis-sm
Copy link

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.

@dmatthis-sm 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
@stack72
Copy link
Contributor

stack72 commented Mar 14, 2017

Closed via #12623

@stack72 stack72 closed this as completed Mar 14, 2017
@ghost
Copy link

ghost commented Apr 15, 2020

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 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.
Projects
None yet
Development

No branches or pull requests

3 participants