A resource for creating, managing, and deleting Virtual Private Cloud networks on Vultr with customizable descriptions and regional deployment options.
Provides a Vultr VPC resource. This can be used to create, read, and delete VPCs on your Vultr account.
Create a new VPC with an automatically generated CIDR block:
Create a new VPC with a specified CIDR block:
The following arguments are supported:
region - (Required) The region ID that you want the VPC to be created in.description - (Optional) The description you want to give your VPC.v4_subnet - (Optional) The IPv4 subnet to be used when attaching instances to this VPC.v4_subnet_mask - The number of bits for the netmask in CIDR notation. Example: 32The following attributes are exported:
id - ID of the VPC.region - The region ID that the VPC operates in.description - The description of the VPC.v4_subnet - The IPv4 subnet used when attaching instances to this VPC.v4_subnet_mask - The number of bits for the netmask in CIDR notation. Example: 32date_created - The date that the VPC was added to your Vultr account.VPCs can be imported using the VPC ID, e.g.
0 Comments
Be the first to comment and share your perspective with the community.