turbot/digitalocean

steampipe plugin install digitaloceansteampipe plugin install digitalocean

Table: digitalocean_vpc

VPCs (virtual private clouds) are virtual networks containing resources that can communicate with each other in full isolation using private IP addresses.

Examples

List all vpcs

select
*
from
digitalocean_vpc;

Get a VPC by ID

select
id,
name,
ip_range
from
digitalocean_vpc
where
id = '411728c1-f29d-474c-bd9c-8c4f261c7904';

Find the VPC that contains an IP

select
id,
name,
ip_range
from
digitalocean_vpc
where
ip_range >> '10.106.0.123';

Default VPCs

select
id,
name,
ip_range
from
digitalocean_vpc
where
is_default;

.inspect digitalocean_vpc

VPCs (virtual private clouds) are virtual networks containing resources that can communicate with each other in full isolation using private IP addresses.

NameTypeDescription
akasjsonbArray of globally unique identifier strings (also known as) for the resource.
created_attimestamp without time zoneA time value given in ISO8601 combined date and time format.
descriptiontextA free-form text field for describing the VPC's purpose. It may be a maximum of 255 characters.
idtextA unique ID that can be used to identify and reference the VPC.
ip_rangecidrThe range of IP addresses in the VPC in CIDR notation.
is_defaultbooleanA boolean value indicating whether or not the VPC is the default network for the region. All applicable resources are placed into the default VPC network unless otherwise specified during their creation. The `default` field cannot be unset from `true`. If you want to set a new default VPC network, update the `default` field of another VPC network in the same region. The previous network's `default` field will be set to `false` when a new default VPC has been defined.
nametextThe name of the VPC. Must be unique and may only contain alphanumeric characters, dashes, and periods.
region_slugtextThe slug identifier for the region where the VPC will be created.
tagsjsonbA map of tags for the resource.
titletextTitle of the resource.
urntextThe uniform resource name (URN) for the VPC.