Provides details about an IPv4 address assigned to a Vultr instance
Provides a Vultr instance IPv4 resource. This can be used to create, read, and modify a IPv4 address. instance is rebooted by default.
Create a new IPv4 address for a instance:
The following arguments are supported:
instance_id - (Required) The ID of the instance to be assigned the IPv4 address.reboot - (Optional) Default true. Determines whether or not the server is rebooted after adding the IPv4 address.The following attributes are exported:
id - The ID is the IPv4 address in canonical format.instance_id - The ID of the server the IPv4 was set for.ip - The IPv4 address in canonical format.gateway - The gateway IP address.netmask - The IPv4 netmask in dot-decimal notation.reverse - The reverse DNS information for this IP address.
0 Comments
Be the first to comment and share your perspective with the community.