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

[Feature] - Provide access to vpc ip addresses assigned to instances. #474

Open
knusbaum opened this issue Mar 25, 2024 · 1 comment
Open
Assignees

Comments

@knusbaum
Copy link

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 (

"vpc2_ids": {
Type: schema.TypeList,
Computed: true,
Elem: &schema.Schema{Type: schema.TypeString},
},
)

@optik-aper optik-aper self-assigned this Jun 5, 2024
@optik-aper
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants