terraform-provider-vultr icon indicating copy to clipboard operation
terraform-provider-vultr copied to clipboard

[Feature] Get all internal ips of private network of instance

Open 4n70w4 opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. There is currently no way to get list of all internal ips of instance via TF. internal_ip attribute contains only one ip if instance have only one private network. If instance have few private networks - internal_ip contains empty string.

Describe the solution you'd like Enrichment info from GET https://api.vultr.com/v2/instances/{instance-id}/private-networks or (GET https://api.vultr.com/v2/instances/{instance-id}/ipv4 and GET https://api.vultr.com/v2/instances/{instance-id}/ipv6)

Describe alternatives you've considered data "vultr_instance_ipv4" "my_instance_ipv4" also get only one internal ip.

4n70w4 avatar Nov 09 '21 21:11 4n70w4

We'll look into what we can do here

ddymko avatar Nov 10 '21 17:11 ddymko