| page_title | cozystack_vpc Data Source - cozystack |
|---|---|
| subcategory | |
| description | Read an existing Cozystack VPC by name and namespace. |
Read an existing Cozystack VPC by name and namespace.
data "cozystack_vpc" "net" {
name = "net"
namespace = "tenant-root"
}name(String) VirtualPrivateCloud instance name.namespace(String) Tenant namespace.
chart_version(String) Deployed chart version.id(String) Synthetic identifiernamespace/name.peers(Attributes List) VPC peering connections. (see below for nested schema)ready(Boolean) Whether the application'sReadycondition is true.routes(Attributes List) Static routes for the VPC. (see below for nested schema)subnets(Attributes List) Subnets of the VPC. (see below for nested schema)uid(String) Server-assigned object UID (metadata.uid).
Read-Only:
tenant_namespace(String) Namespace of the remote tenant.vpc_name(String) Logical name of the remote VPC.
Read-Only:
cidr(String) Destination CIDR.next_hop_ip(String) Next hop IP address.
Read-Only:
cidr(String) IP address range (CIDR).name(String) Subnet name.