hashicorp / terraform

Terraform enables you to safely and predictably create, change, and improve infrastructure. It is a source-available tool that codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned.
https://www.terraform.io/
Other
41.88k stars 9.44k forks source link

Resolve hostname to ip/ip's #20444

Closed acim closed 5 years ago

acim commented 5 years ago

Current Terraform Version

Terraform v0.11.11
+ provider.aws v1.59.0
+ provider.bitbucket v1.0.0
+ provider.mongodbatlas (unversioned)

Use-cases

From resources like aws_db_instance and aws_rds_cluster I can get out just endpoint addresses, so hostnames, but no IP addresses. It would be nice to resolve these somehow in order to get IP addresses or CIDR's in order to use them as variables for security groups, etc.

Attempted Solutions

Proposal

References

ghost commented 5 years ago

This issue has been automatically migrated to terraform-providers/terraform-provider-aws#7658 because it looks like an issue with that provider. If you believe this is not an issue with the provider, please reply to terraform-providers/terraform-provider-aws#7658.

ghost commented 4 years ago

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.