published on Monday, May 18, 2026 by Pulumi
published on Monday, May 18, 2026 by Pulumi
Create and manage VPCs. Learn more about CoreWeave VPCs.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coreweave from "@pulumi/coreweave";
const example = new coreweave.NetworkingVpc("example", {
name: "default",
zone: "US-EAST-04A",
hostPrefixes: [
{
name: "primary",
type: "PRIMARY",
prefixes: [
"10.16.192.0/18",
"2601:db8:aaaa::/48",
],
},
{
name: "container-network",
type: "ROUTED",
prefixes: ["2601:db8:bbbb::/48"],
ipam: {
prefixLength: 80,
gatewayAddressPolicy: "FIRST_IP",
},
},
{
name: "attached-network",
type: "ATTACHED",
prefixes: ["2601:db8:cccc::/48"],
ipam: {
prefixLength: 64,
},
},
],
vpcPrefixes: [
{
name: "pod cidr",
value: "10.0.0.0/13",
},
{
name: "service cidr",
value: "10.16.0.0/22",
},
{
name: "internal lb cidr",
value: "10.32.4.0/22",
},
],
egress: {
disablePublicAccess: false,
},
ingress: {
disablePublicServices: false,
},
dhcp: {
dns: {
servers: [
"1.1.1.1",
"8.8.8.8",
],
},
},
});
import pulumi
import pulumi_coreweave as coreweave
example = coreweave.NetworkingVpc("example",
name="default",
zone="US-EAST-04A",
host_prefixes=[
{
"name": "primary",
"type": "PRIMARY",
"prefixes": [
"10.16.192.0/18",
"2601:db8:aaaa::/48",
],
},
{
"name": "container-network",
"type": "ROUTED",
"prefixes": ["2601:db8:bbbb::/48"],
"ipam": {
"prefix_length": 80,
"gateway_address_policy": "FIRST_IP",
},
},
{
"name": "attached-network",
"type": "ATTACHED",
"prefixes": ["2601:db8:cccc::/48"],
"ipam": {
"prefix_length": 64,
},
},
],
vpc_prefixes=[
{
"name": "pod cidr",
"value": "10.0.0.0/13",
},
{
"name": "service cidr",
"value": "10.16.0.0/22",
},
{
"name": "internal lb cidr",
"value": "10.32.4.0/22",
},
],
egress={
"disable_public_access": False,
},
ingress={
"disable_public_services": False,
},
dhcp={
"dns": {
"servers": [
"1.1.1.1",
"8.8.8.8",
],
},
})
package main
import (
"github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coreweave.NewNetworkingVpc(ctx, "example", &coreweave.NetworkingVpcArgs{
Name: pulumi.String("default"),
Zone: pulumi.String("US-EAST-04A"),
HostPrefixes: coreweave.NetworkingVpcHostPrefixArray{
&coreweave.NetworkingVpcHostPrefixArgs{
Name: pulumi.String("primary"),
Type: pulumi.String("PRIMARY"),
Prefixes: pulumi.StringArray{
pulumi.String("10.16.192.0/18"),
pulumi.String("2601:db8:aaaa::/48"),
},
},
&coreweave.NetworkingVpcHostPrefixArgs{
Name: pulumi.String("container-network"),
Type: pulumi.String("ROUTED"),
Prefixes: pulumi.StringArray{
pulumi.String("2601:db8:bbbb::/48"),
},
Ipam: &coreweave.NetworkingVpcHostPrefixIpamArgs{
PrefixLength: pulumi.Int(80),
GatewayAddressPolicy: pulumi.String("FIRST_IP"),
},
},
&coreweave.NetworkingVpcHostPrefixArgs{
Name: pulumi.String("attached-network"),
Type: pulumi.String("ATTACHED"),
Prefixes: pulumi.StringArray{
pulumi.String("2601:db8:cccc::/48"),
},
Ipam: &coreweave.NetworkingVpcHostPrefixIpamArgs{
PrefixLength: pulumi.Int(64),
},
},
},
VpcPrefixes: coreweave.NetworkingVpcVpcPrefixArray{
&coreweave.NetworkingVpcVpcPrefixArgs{
Name: pulumi.String("pod cidr"),
Value: pulumi.String("10.0.0.0/13"),
},
&coreweave.NetworkingVpcVpcPrefixArgs{
Name: pulumi.String("service cidr"),
Value: pulumi.String("10.16.0.0/22"),
},
&coreweave.NetworkingVpcVpcPrefixArgs{
Name: pulumi.String("internal lb cidr"),
Value: pulumi.String("10.32.4.0/22"),
},
},
Egress: &coreweave.NetworkingVpcEgressArgs{
DisablePublicAccess: pulumi.Bool(false),
},
Ingress: &coreweave.NetworkingVpcIngressArgs{
DisablePublicServices: pulumi.Bool(false),
},
Dhcp: &coreweave.NetworkingVpcDhcpArgs{
Dns: &coreweave.NetworkingVpcDhcpDnsArgs{
Servers: pulumi.StringArray{
pulumi.String("1.1.1.1"),
pulumi.String("8.8.8.8"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CoreWeave = Pulumi.CoreWeave;
return await Deployment.RunAsync(() =>
{
var example = new CoreWeave.NetworkingVpc("example", new()
{
Name = "default",
Zone = "US-EAST-04A",
HostPrefixes = new[]
{
new CoreWeave.Inputs.NetworkingVpcHostPrefixArgs
{
Name = "primary",
Type = "PRIMARY",
Prefixes = new[]
{
"10.16.192.0/18",
"2601:db8:aaaa::/48",
},
},
new CoreWeave.Inputs.NetworkingVpcHostPrefixArgs
{
Name = "container-network",
Type = "ROUTED",
Prefixes = new[]
{
"2601:db8:bbbb::/48",
},
Ipam = new CoreWeave.Inputs.NetworkingVpcHostPrefixIpamArgs
{
PrefixLength = 80,
GatewayAddressPolicy = "FIRST_IP",
},
},
new CoreWeave.Inputs.NetworkingVpcHostPrefixArgs
{
Name = "attached-network",
Type = "ATTACHED",
Prefixes = new[]
{
"2601:db8:cccc::/48",
},
Ipam = new CoreWeave.Inputs.NetworkingVpcHostPrefixIpamArgs
{
PrefixLength = 64,
},
},
},
VpcPrefixes = new[]
{
new CoreWeave.Inputs.NetworkingVpcVpcPrefixArgs
{
Name = "pod cidr",
Value = "10.0.0.0/13",
},
new CoreWeave.Inputs.NetworkingVpcVpcPrefixArgs
{
Name = "service cidr",
Value = "10.16.0.0/22",
},
new CoreWeave.Inputs.NetworkingVpcVpcPrefixArgs
{
Name = "internal lb cidr",
Value = "10.32.4.0/22",
},
},
Egress = new CoreWeave.Inputs.NetworkingVpcEgressArgs
{
DisablePublicAccess = false,
},
Ingress = new CoreWeave.Inputs.NetworkingVpcIngressArgs
{
DisablePublicServices = false,
},
Dhcp = new CoreWeave.Inputs.NetworkingVpcDhcpArgs
{
Dns = new CoreWeave.Inputs.NetworkingVpcDhcpDnsArgs
{
Servers = new[]
{
"1.1.1.1",
"8.8.8.8",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coreweave.NetworkingVpc;
import com.pulumi.coreweave.NetworkingVpcArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcHostPrefixArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcHostPrefixIpamArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcVpcPrefixArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcEgressArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcIngressArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcDhcpArgs;
import com.pulumi.coreweave.inputs.NetworkingVpcDhcpDnsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new NetworkingVpc("example", NetworkingVpcArgs.builder()
.name("default")
.zone("US-EAST-04A")
.hostPrefixes(
NetworkingVpcHostPrefixArgs.builder()
.name("primary")
.type("PRIMARY")
.prefixes(
"10.16.192.0/18",
"2601:db8:aaaa::/48")
.build(),
NetworkingVpcHostPrefixArgs.builder()
.name("container-network")
.type("ROUTED")
.prefixes("2601:db8:bbbb::/48")
.ipam(NetworkingVpcHostPrefixIpamArgs.builder()
.prefixLength(%!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(80) (example.pp:12,30-32)))
.gatewayAddressPolicy("FIRST_IP")
.build())
.build(),
NetworkingVpcHostPrefixArgs.builder()
.name("attached-network")
.type("ATTACHED")
.prefixes("2601:db8:cccc::/48")
.ipam(NetworkingVpcHostPrefixIpamArgs.builder()
.prefixLength(%!v(PANIC=Format method: fatal: A failure has occurred: unexpected literal type in GenLiteralValueExpression: cty.NumberIntVal(64) (example.pp:20,22-24)))
.build())
.build())
.vpcPrefixes(
NetworkingVpcVpcPrefixArgs.builder()
.name("pod cidr")
.value("10.0.0.0/13")
.build(),
NetworkingVpcVpcPrefixArgs.builder()
.name("service cidr")
.value("10.16.0.0/22")
.build(),
NetworkingVpcVpcPrefixArgs.builder()
.name("internal lb cidr")
.value("10.32.4.0/22")
.build())
.egress(NetworkingVpcEgressArgs.builder()
.disablePublicAccess(false)
.build())
.ingress(NetworkingVpcIngressArgs.builder()
.disablePublicServices(false)
.build())
.dhcp(NetworkingVpcDhcpArgs.builder()
.dns(NetworkingVpcDhcpDnsArgs.builder()
.servers(
"1.1.1.1",
"8.8.8.8")
.build())
.build())
.build());
}
}
resources:
example:
type: coreweave:NetworkingVpc
properties:
name: default
zone: US-EAST-04A
hostPrefixes:
- name: primary
type: PRIMARY
prefixes:
- 10.16.192.0/18
- 2601:db8:aaaa::/48
- name: container-network
type: ROUTED
prefixes:
- 2601:db8:bbbb::/48
ipam:
prefixLength: 80
gatewayAddressPolicy: FIRST_IP
- name: attached-network
type: ATTACHED
prefixes:
- 2601:db8:cccc::/48
ipam:
prefixLength: 64
vpcPrefixes:
- name: pod cidr
value: 10.0.0.0/13
- name: service cidr
value: 10.16.0.0/22
- name: internal lb cidr
value: 10.32.4.0/22
egress:
disablePublicAccess: false
ingress:
disablePublicServices: false
dhcp:
dns:
servers:
- 1.1.1.1
- 8.8.8.8
Example coming soon!
Create NetworkingVpc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new NetworkingVpc(name: string, args: NetworkingVpcArgs, opts?: CustomResourceOptions);@overload
def NetworkingVpc(resource_name: str,
args: NetworkingVpcArgs,
opts: Optional[ResourceOptions] = None)
@overload
def NetworkingVpc(resource_name: str,
opts: Optional[ResourceOptions] = None,
zone: Optional[str] = None,
dhcp: Optional[NetworkingVpcDhcpArgs] = None,
egress: Optional[NetworkingVpcEgressArgs] = None,
host_prefix: Optional[str] = None,
host_prefixes: Optional[Sequence[NetworkingVpcHostPrefixArgs]] = None,
ingress: Optional[NetworkingVpcIngressArgs] = None,
name: Optional[str] = None,
vpc_prefixes: Optional[Sequence[NetworkingVpcVpcPrefixArgs]] = None)func NewNetworkingVpc(ctx *Context, name string, args NetworkingVpcArgs, opts ...ResourceOption) (*NetworkingVpc, error)public NetworkingVpc(string name, NetworkingVpcArgs args, CustomResourceOptions? opts = null)
public NetworkingVpc(String name, NetworkingVpcArgs args)
public NetworkingVpc(String name, NetworkingVpcArgs args, CustomResourceOptions options)
type: coreweave:NetworkingVpc
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "coreweave_networkingvpc" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args NetworkingVpcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args NetworkingVpcArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NetworkingVpcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkingVpcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkingVpcArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var networkingVpcResource = new CoreWeave.NetworkingVpc("networkingVpcResource", new()
{
Zone = "string",
Dhcp = new CoreWeave.Inputs.NetworkingVpcDhcpArgs
{
Dns = new CoreWeave.Inputs.NetworkingVpcDhcpDnsArgs
{
Servers = new[]
{
"string",
},
},
},
Egress = new CoreWeave.Inputs.NetworkingVpcEgressArgs
{
DisablePublicAccess = false,
},
HostPrefixes = new[]
{
new CoreWeave.Inputs.NetworkingVpcHostPrefixArgs
{
Name = "string",
Prefixes = new[]
{
"string",
},
Type = "string",
Ipam = new CoreWeave.Inputs.NetworkingVpcHostPrefixIpamArgs
{
PrefixLength = 0,
GatewayAddressPolicy = "string",
},
},
},
Ingress = new CoreWeave.Inputs.NetworkingVpcIngressArgs
{
DisablePublicServices = false,
},
Name = "string",
VpcPrefixes = new[]
{
new CoreWeave.Inputs.NetworkingVpcVpcPrefixArgs
{
Name = "string",
Value = "string",
},
},
});
example, err := coreweave.NewNetworkingVpc(ctx, "networkingVpcResource", &coreweave.NetworkingVpcArgs{
Zone: pulumi.String("string"),
Dhcp: &coreweave.NetworkingVpcDhcpArgs{
Dns: &coreweave.NetworkingVpcDhcpDnsArgs{
Servers: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Egress: &coreweave.NetworkingVpcEgressArgs{
DisablePublicAccess: pulumi.Bool(false),
},
HostPrefixes: coreweave.NetworkingVpcHostPrefixArray{
&coreweave.NetworkingVpcHostPrefixArgs{
Name: pulumi.String("string"),
Prefixes: pulumi.StringArray{
pulumi.String("string"),
},
Type: pulumi.String("string"),
Ipam: &coreweave.NetworkingVpcHostPrefixIpamArgs{
PrefixLength: pulumi.Int(0),
GatewayAddressPolicy: pulumi.String("string"),
},
},
},
Ingress: &coreweave.NetworkingVpcIngressArgs{
DisablePublicServices: pulumi.Bool(false),
},
Name: pulumi.String("string"),
VpcPrefixes: coreweave.NetworkingVpcVpcPrefixArray{
&coreweave.NetworkingVpcVpcPrefixArgs{
Name: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
})
resource "coreweave_networkingvpc" "networkingVpcResource" {
zone = "string"
dhcp = {
dns = {
servers = ["string"]
}
}
egress = {
disable_public_access = false
}
host_prefixes {
name = "string"
prefixes = ["string"]
type = "string"
ipam = {
prefix_length = 0
gateway_address_policy = "string"
}
}
ingress = {
disable_public_services = false
}
name = "string"
vpc_prefixes {
name = "string"
value = "string"
}
}
var networkingVpcResource = new NetworkingVpc("networkingVpcResource", NetworkingVpcArgs.builder()
.zone("string")
.dhcp(NetworkingVpcDhcpArgs.builder()
.dns(NetworkingVpcDhcpDnsArgs.builder()
.servers("string")
.build())
.build())
.egress(NetworkingVpcEgressArgs.builder()
.disablePublicAccess(false)
.build())
.hostPrefixes(NetworkingVpcHostPrefixArgs.builder()
.name("string")
.prefixes("string")
.type("string")
.ipam(NetworkingVpcHostPrefixIpamArgs.builder()
.prefixLength(0)
.gatewayAddressPolicy("string")
.build())
.build())
.ingress(NetworkingVpcIngressArgs.builder()
.disablePublicServices(false)
.build())
.name("string")
.vpcPrefixes(NetworkingVpcVpcPrefixArgs.builder()
.name("string")
.value("string")
.build())
.build());
networking_vpc_resource = coreweave.NetworkingVpc("networkingVpcResource",
zone="string",
dhcp={
"dns": {
"servers": ["string"],
},
},
egress={
"disable_public_access": False,
},
host_prefixes=[{
"name": "string",
"prefixes": ["string"],
"type": "string",
"ipam": {
"prefix_length": 0,
"gateway_address_policy": "string",
},
}],
ingress={
"disable_public_services": False,
},
name="string",
vpc_prefixes=[{
"name": "string",
"value": "string",
}])
const networkingVpcResource = new coreweave.NetworkingVpc("networkingVpcResource", {
zone: "string",
dhcp: {
dns: {
servers: ["string"],
},
},
egress: {
disablePublicAccess: false,
},
hostPrefixes: [{
name: "string",
prefixes: ["string"],
type: "string",
ipam: {
prefixLength: 0,
gatewayAddressPolicy: "string",
},
}],
ingress: {
disablePublicServices: false,
},
name: "string",
vpcPrefixes: [{
name: "string",
value: "string",
}],
});
type: coreweave:NetworkingVpc
properties:
dhcp:
dns:
servers:
- string
egress:
disablePublicAccess: false
hostPrefixes:
- ipam:
gatewayAddressPolicy: string
prefixLength: 0
name: string
prefixes:
- string
type: string
ingress:
disablePublicServices: false
name: string
vpcPrefixes:
- name: string
value: string
zone: string
NetworkingVpc Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The NetworkingVpc resource accepts the following input properties:
- Zone string
- The Availability Zone in which the VPC is located.
- Dhcp
Pulumi.
Core Weave. Inputs. Networking Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- Egress
Pulumi.
Core Weave. Inputs. Networking Vpc Egress - Settings affecting traffic leaving the VPC.
- Host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- Host
Prefixes List<Pulumi.Core Weave. Inputs. Networking Vpc Host Prefix> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- Ingress
Pulumi.
Core Weave. Inputs. Networking Vpc Ingress - Settings affecting traffic entering the VPC.
- Name string
- The name of the VPC. Must not be longer than 30 characters.
- Vpc
Prefixes List<Pulumi.Core Weave. Inputs. Networking Vpc Vpc Prefix> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- Zone string
- The Availability Zone in which the VPC is located.
- Dhcp
Networking
Vpc Dhcp Args - Settings affecting DHCP behavior within the VPC.
- Egress
Networking
Vpc Egress Args - Settings affecting traffic leaving the VPC.
- Host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- Host
Prefixes []NetworkingVpc Host Prefix Args - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- Ingress
Networking
Vpc Ingress Args - Settings affecting traffic entering the VPC.
- Name string
- The name of the VPC. Must not be longer than 30 characters.
- Vpc
Prefixes []NetworkingVpc Vpc Prefix Args - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone string
- The Availability Zone in which the VPC is located.
- dhcp object
- Settings affecting DHCP behavior within the VPC.
- egress object
- Settings affecting traffic leaving the VPC.
- host_
prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host_
prefixes list(object) - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress object
- Settings affecting traffic entering the VPC.
- name string
- The name of the VPC. Must not be longer than 30 characters.
- vpc_
prefixes list(object) - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone String
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress - Settings affecting traffic leaving the VPC.
- host
Prefix String - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes List<NetworkingVpc Host Prefix> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress - Settings affecting traffic entering the VPC.
- name String
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes List<NetworkingVpc Vpc Prefix> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone string
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress - Settings affecting traffic leaving the VPC.
- host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes NetworkingVpc Host Prefix[] - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress - Settings affecting traffic entering the VPC.
- name string
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes NetworkingVpc Vpc Prefix[] - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone str
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp Args - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress Args - Settings affecting traffic leaving the VPC.
- host_
prefix str - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host_
prefixes Sequence[NetworkingVpc Host Prefix Args] - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress Args - Settings affecting traffic entering the VPC.
- name str
- The name of the VPC. Must not be longer than 30 characters.
- vpc_
prefixes Sequence[NetworkingVpc Vpc Prefix Args] - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone String
- The Availability Zone in which the VPC is located.
- dhcp Property Map
- Settings affecting DHCP behavior within the VPC.
- egress Property Map
- Settings affecting traffic leaving the VPC.
- host
Prefix String - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes List<Property Map> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress Property Map
- Settings affecting traffic entering the VPC.
- name String
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes List<Property Map> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
Outputs
All input properties are implicitly available as output properties. Additionally, the NetworkingVpc resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing NetworkingVpc Resource
Get an existing NetworkingVpc resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NetworkingVpcState, opts?: CustomResourceOptions): NetworkingVpc@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
dhcp: Optional[NetworkingVpcDhcpArgs] = None,
egress: Optional[NetworkingVpcEgressArgs] = None,
host_prefix: Optional[str] = None,
host_prefixes: Optional[Sequence[NetworkingVpcHostPrefixArgs]] = None,
ingress: Optional[NetworkingVpcIngressArgs] = None,
name: Optional[str] = None,
vpc_prefixes: Optional[Sequence[NetworkingVpcVpcPrefixArgs]] = None,
zone: Optional[str] = None) -> NetworkingVpcfunc GetNetworkingVpc(ctx *Context, name string, id IDInput, state *NetworkingVpcState, opts ...ResourceOption) (*NetworkingVpc, error)public static NetworkingVpc Get(string name, Input<string> id, NetworkingVpcState? state, CustomResourceOptions? opts = null)public static NetworkingVpc get(String name, Output<String> id, NetworkingVpcState state, CustomResourceOptions options)resources: _: type: coreweave:NetworkingVpc get: id: ${id}import {
to = coreweave_networkingvpc.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Dhcp
Pulumi.
Core Weave. Inputs. Networking Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- Egress
Pulumi.
Core Weave. Inputs. Networking Vpc Egress - Settings affecting traffic leaving the VPC.
- Host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- Host
Prefixes List<Pulumi.Core Weave. Inputs. Networking Vpc Host Prefix> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- Ingress
Pulumi.
Core Weave. Inputs. Networking Vpc Ingress - Settings affecting traffic entering the VPC.
- Name string
- The name of the VPC. Must not be longer than 30 characters.
- Vpc
Prefixes List<Pulumi.Core Weave. Inputs. Networking Vpc Vpc Prefix> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- Zone string
- The Availability Zone in which the VPC is located.
- Dhcp
Networking
Vpc Dhcp Args - Settings affecting DHCP behavior within the VPC.
- Egress
Networking
Vpc Egress Args - Settings affecting traffic leaving the VPC.
- Host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- Host
Prefixes []NetworkingVpc Host Prefix Args - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- Ingress
Networking
Vpc Ingress Args - Settings affecting traffic entering the VPC.
- Name string
- The name of the VPC. Must not be longer than 30 characters.
- Vpc
Prefixes []NetworkingVpc Vpc Prefix Args - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- Zone string
- The Availability Zone in which the VPC is located.
- dhcp object
- Settings affecting DHCP behavior within the VPC.
- egress object
- Settings affecting traffic leaving the VPC.
- host_
prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host_
prefixes list(object) - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress object
- Settings affecting traffic entering the VPC.
- name string
- The name of the VPC. Must not be longer than 30 characters.
- vpc_
prefixes list(object) - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone string
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress - Settings affecting traffic leaving the VPC.
- host
Prefix String - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes List<NetworkingVpc Host Prefix> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress - Settings affecting traffic entering the VPC.
- name String
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes List<NetworkingVpc Vpc Prefix> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone String
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress - Settings affecting traffic leaving the VPC.
- host
Prefix string - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes NetworkingVpc Host Prefix[] - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress - Settings affecting traffic entering the VPC.
- name string
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes NetworkingVpc Vpc Prefix[] - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone string
- The Availability Zone in which the VPC is located.
- dhcp
Networking
Vpc Dhcp Args - Settings affecting DHCP behavior within the VPC.
- egress
Networking
Vpc Egress Args - Settings affecting traffic leaving the VPC.
- host_
prefix str - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host_
prefixes Sequence[NetworkingVpc Host Prefix Args] - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress
Networking
Vpc Ingress Args - Settings affecting traffic entering the VPC.
- name str
- The name of the VPC. Must not be longer than 30 characters.
- vpc_
prefixes Sequence[NetworkingVpc Vpc Prefix Args] - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone str
- The Availability Zone in which the VPC is located.
- dhcp Property Map
- Settings affecting DHCP behavior within the VPC.
- egress Property Map
- Settings affecting traffic leaving the VPC.
- host
Prefix String - An IPv4 CIDR range used to allocate host addresses when booting compute into a VPC. This CIDR must be have a mask size of /18. If left unspecified, a Zone-specific default value will be applied by the server. This field is immutable once set.
- host
Prefixes List<Property Map> - The IPv4 or IPv6 CIDR ranges used to allocate host addresses when booting compute into a VPC.
- ingress Property Map
- Settings affecting traffic entering the VPC.
- name String
- The name of the VPC. Must not be longer than 30 characters.
- vpc
Prefixes List<Property Map> - A list of additional prefixes associated with the VPC. For example, CKS clusters use these prefixes for Pod and service CIDR ranges.
- zone String
- The Availability Zone in which the VPC is located.
Supporting Types
NetworkingVpcDhcp, NetworkingVpcDhcpArgs
- Dns
Pulumi.
Core Weave. Inputs. Networking Vpc Dhcp Dns - Settings affecting DNS for DHCP within the VPC
- Dns
Networking
Vpc Dhcp Dns - Settings affecting DNS for DHCP within the VPC
- dns
Networking
Vpc Dhcp Dns - Settings affecting DNS for DHCP within the VPC
- dns
Networking
Vpc Dhcp Dns - Settings affecting DNS for DHCP within the VPC
- dns
Networking
Vpc Dhcp Dns - Settings affecting DNS for DHCP within the VPC
- dns Property Map
- Settings affecting DNS for DHCP within the VPC
NetworkingVpcDhcpDns, NetworkingVpcDhcpDnsArgs
- Servers List<string>
- The DNS servers to be used by DHCP clients within the VPC.
- Servers []string
- The DNS servers to be used by DHCP clients within the VPC.
- servers list(string)
- The DNS servers to be used by DHCP clients within the VPC.
- servers List<String>
- The DNS servers to be used by DHCP clients within the VPC.
- servers string[]
- The DNS servers to be used by DHCP clients within the VPC.
- servers Sequence[str]
- The DNS servers to be used by DHCP clients within the VPC.
- servers List<String>
- The DNS servers to be used by DHCP clients within the VPC.
NetworkingVpcEgress, NetworkingVpcEgressArgs
- Disable
Public boolAccess - Specifies whether the VPC should be blocked from consuming public Internet.
- Disable
Public boolAccess - Specifies whether the VPC should be blocked from consuming public Internet.
- disable_
public_ boolaccess - Specifies whether the VPC should be blocked from consuming public Internet.
- disable
Public BooleanAccess - Specifies whether the VPC should be blocked from consuming public Internet.
- disable
Public booleanAccess - Specifies whether the VPC should be blocked from consuming public Internet.
- disable_
public_ boolaccess - Specifies whether the VPC should be blocked from consuming public Internet.
- disable
Public BooleanAccess - Specifies whether the VPC should be blocked from consuming public Internet.
NetworkingVpcHostPrefix, NetworkingVpcHostPrefixArgs
- Name string
- The user-specified name of the host prefix.
- Prefixes List<string>
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- Type string
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - Ipam
Pulumi.
Core Weave. Inputs. Networking Vpc Host Prefix Ipam - The configuration for a secondary host prefix.
- Name string
- The user-specified name of the host prefix.
- Prefixes []string
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- Type string
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - Ipam
Networking
Vpc Host Prefix Ipam - The configuration for a secondary host prefix.
- name string
- The user-specified name of the host prefix.
- prefixes list(string)
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- type string
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - ipam object
- The configuration for a secondary host prefix.
- name String
- The user-specified name of the host prefix.
- prefixes List<String>
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- type String
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - ipam
Networking
Vpc Host Prefix Ipam - The configuration for a secondary host prefix.
- name string
- The user-specified name of the host prefix.
- prefixes string[]
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- type string
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - ipam
Networking
Vpc Host Prefix Ipam - The configuration for a secondary host prefix.
- name str
- The user-specified name of the host prefix.
- prefixes Sequence[str]
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- type str
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - ipam
Networking
Vpc Host Prefix Ipam - The configuration for a secondary host prefix.
- name String
- The user-specified name of the host prefix.
- prefixes List<String>
- The VPC-wide aggregates from which host-specific prefixes are allocated. May be IPv4 or IPv6.
- type String
- Controls network connectivity from the prefix to the host. Must be one of:
PRIMARY,ROUTED,ATTACHED. - ipam Property Map
- The configuration for a secondary host prefix.
NetworkingVpcHostPrefixIpam, NetworkingVpcHostPrefixIpamArgs
- Prefix
Length int - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- Gateway
Address stringPolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- Prefix
Length int - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- Gateway
Address stringPolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- prefix_
length number - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- gateway_
address_ stringpolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- prefix
Length Integer - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- gateway
Address StringPolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- prefix
Length number - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- gateway
Address stringPolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- prefix_
length int - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- gateway_
address_ strpolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
- prefix
Length Number - The desired length for each Node's allocation from the VPC-wide aggregate prefix.
- gateway
Address StringPolicy - Describes which IP address from the prefix is allocated to the network gateway. Must be one of:
UNSPECIFIED,EUI64,FIRST_IP,LAST_IP.
NetworkingVpcIngress, NetworkingVpcIngressArgs
- Disable
Public boolServices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- Disable
Public boolServices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- disable_
public_ boolservices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- disable
Public BooleanServices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- disable
Public booleanServices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- disable_
public_ boolservices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
- disable
Public BooleanServices - Specifies whether the VPC should prevent public prefixes advertised from Nodes from being imported into public-facing networks, making them inaccessible from the Internet.
NetworkingVpcVpcPrefix, NetworkingVpcVpcPrefixArgs
Import
$ pulumi import coreweave:index/networkingVpc:NetworkingVpc default {{id}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- coreweave pulumi/pulumi-coreweave
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
coreweaveTerraform Provider.
published on Monday, May 18, 2026 by Pulumi
