Deprecated resource for managing Vultr VPC 2.0 networks, replaced by vultr_vpc resource.
** Deprecated: Use vultr_vpc
instead **
Get information about a Vultr VPC 2.0.
Get the information for a VPC 2.0 by description
:
data "vultr_vpc2" "my_vpc2" {
filter {
name = "description"
values = ["my-vpc2-description"]
}
}
The following arguments are supported:
filter
- (Required) Query parameters for finding VPCs 2.0.The filter
block supports the following:
name
- Attribute name to filter with.values
- One or more values filter with.The following attributes are exported:
region
- The ID of the region that the VPC 2.0 is in.ip_block
- The IPv4 network address. For example: 10.1.1.0.prefix_length
- The number of bits for the netmask in CIDR notation. Example: 20description
- The VPC 2.0's description.date_created
- The date the VPC 2.0 was added to your Vultr account.
No comments yet.