Open knusbaum opened 6 months ago
Is your feature request related to a problem? Please describe. As far as I can tell, it is not possible to access the ip_address field for the vpc (or vpc2) attached to an instance ( https://www.vultr.com/api/#tag/instances/operation/list-instance-vpc2 )
This makes networking nodes difficult since the VPC ip_address is not available for use in other resources.
Describe the solution you'd like I would like a field (maybe vpc2) for the vultr_instance type that contains at least the ip_address, but preferably the full structure returned by /v2/instances/{instance-id}/vpc2, in addition to or instead of the fields like vpc_ids and vpc2_ids ( https://github.com/vultr/terraform-provider-vultr/blob/8c46b8df09632e505df0548af15caa1ed7e609de/vultr/data_source_vultr_instance.go#L149-L153 )
vpc2
vultr_instance
ip_address
/v2/instances/{instance-id}/vpc2
vpc_ids
vpc2_ids
I have a WIP with getting more of the VPC2 fields exposed in the TF resource. I'll see about regular VPC while I'm in there.
Is your feature request related to a problem? Please describe. As far as I can tell, it is not possible to access the ip_address field for the vpc (or vpc2) attached to an instance ( https://www.vultr.com/api/#tag/instances/operation/list-instance-vpc2 )
This makes networking nodes difficult since the VPC ip_address is not available for use in other resources.
Describe the solution you'd like I would like a field (maybe
vpc2
) for thevultr_instance
type that contains at least theip_address
, but preferably the full structure returned by/v2/instances/{instance-id}/vpc2
, in addition to or instead of the fields likevpc_ids
andvpc2_ids
( https://github.com/vultr/terraform-provider-vultr/blob/8c46b8df09632e505df0548af15caa1ed7e609de/vultr/data_source_vultr_instance.go#L149-L153 )