hashicorp / terraform-aws-consul

A Terraform Module for how to run Consul on AWS using Terraform and Packer
Apache License 2.0
401 stars 484 forks source link

Feature Request: Add Server and Client IP addresses to output #180

Closed schristoff closed 2 years ago

schristoff commented 4 years ago

Howdy, It would be super handy if this module could output the external IP addresses assigned to server and clients. I see there is some scripting made to do this in either test or examples Is there any reason this isn't done currently?

Thanks! :)

brikis98 commented 4 years ago

The Consul nodes run in an Auto Scaling Group (ASG). Terraform does not provide the IP address outputs for an ASG, as the ASGs are dynamic by design, and new instances can come and go any time.