published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
VPC network range resource schema
This resource is part of the experimental feature vpc and is likely going to undergo significant changes or be removed in the future. Use it at your own discretion.
Example Usage
resource "stackit_vpc_region" "region" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
vpc_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
resource "stackit_vpc_network_range" "example" {
# Network range can only be created after the VPC is enabled for the region
depends_on = [stackit_vpc_region.region]
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
vpc_id = stackit_vpc_region.region.vpc_id
ip_version = "ipv4"
prefix = "192.168.0.0/24"
description = "my vpc network range"
}
Create VpcNetworkRange Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VpcNetworkRange(name: string, args: VpcNetworkRangeArgs, opts?: CustomResourceOptions);@overload
def VpcNetworkRange(resource_name: str,
args: VpcNetworkRangeArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VpcNetworkRange(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
ip_version: Optional[str] = None,
prefix: Optional[str] = None,
project_id: Optional[str] = None,
vpc_id: Optional[str] = None,
default_prefix_length: Optional[int] = None,
labels: Optional[Mapping[str, str]] = None,
max_prefix_length: Optional[int] = None,
min_prefix_length: Optional[int] = None,
nameservers: Optional[Sequence[str]] = None,
region: Optional[str] = None,
timeouts: Optional[VpcNetworkRangeTimeoutsArgs] = None)func NewVpcNetworkRange(ctx *Context, name string, args VpcNetworkRangeArgs, opts ...ResourceOption) (*VpcNetworkRange, error)public VpcNetworkRange(string name, VpcNetworkRangeArgs args, CustomResourceOptions? opts = null)
public VpcNetworkRange(String name, VpcNetworkRangeArgs args)
public VpcNetworkRange(String name, VpcNetworkRangeArgs args, CustomResourceOptions options)
type: stackit:VpcNetworkRange
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "stackit_vpc_network_range" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args VpcNetworkRangeArgs
- 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 VpcNetworkRangeArgs
- 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 VpcNetworkRangeArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VpcNetworkRangeArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VpcNetworkRangeArgs
- 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 vpcNetworkRangeResource = new Stackit.VpcNetworkRange("vpcNetworkRangeResource", new()
{
Description = "string",
IpVersion = "string",
Prefix = "string",
ProjectId = "string",
VpcId = "string",
DefaultPrefixLength = 0,
Labels =
{
{ "string", "string" },
},
MaxPrefixLength = 0,
MinPrefixLength = 0,
Nameservers = new[]
{
"string",
},
Region = "string",
Timeouts = new Stackit.Inputs.VpcNetworkRangeTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
Update = "string",
},
});
example, err := stackit.NewVpcNetworkRange(ctx, "vpcNetworkRangeResource", &stackit.VpcNetworkRangeArgs{
Description: pulumi.String("string"),
IpVersion: pulumi.String("string"),
Prefix: pulumi.String("string"),
ProjectId: pulumi.String("string"),
VpcId: pulumi.String("string"),
DefaultPrefixLength: pulumi.Int(0),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
MaxPrefixLength: pulumi.Int(0),
MinPrefixLength: pulumi.Int(0),
Nameservers: pulumi.StringArray{
pulumi.String("string"),
},
Region: pulumi.String("string"),
Timeouts: &stackit.VpcNetworkRangeTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
Update: pulumi.String("string"),
},
})
resource "stackit_vpc_network_range" "vpcNetworkRangeResource" {
lifecycle {
create_before_destroy = true
}
description = "string"
ip_version = "string"
prefix = "string"
project_id = "string"
vpc_id = "string"
default_prefix_length = 0
labels = {
"string" = "string"
}
max_prefix_length = 0
min_prefix_length = 0
nameservers = ["string"]
region = "string"
timeouts = {
create = "string"
delete = "string"
read = "string"
update = "string"
}
}
var vpcNetworkRangeResource = new VpcNetworkRange("vpcNetworkRangeResource", VpcNetworkRangeArgs.builder()
.description("string")
.ipVersion("string")
.prefix("string")
.projectId("string")
.vpcId("string")
.defaultPrefixLength(0)
.labels(Map.of("string", "string"))
.maxPrefixLength(0)
.minPrefixLength(0)
.nameservers("string")
.region("string")
.timeouts(VpcNetworkRangeTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.update("string")
.build())
.build());
vpc_network_range_resource = stackit.VpcNetworkRange("vpcNetworkRangeResource",
description="string",
ip_version="string",
prefix="string",
project_id="string",
vpc_id="string",
default_prefix_length=0,
labels={
"string": "string",
},
max_prefix_length=0,
min_prefix_length=0,
nameservers=["string"],
region="string",
timeouts={
"create": "string",
"delete": "string",
"read": "string",
"update": "string",
})
const vpcNetworkRangeResource = new stackit.VpcNetworkRange("vpcNetworkRangeResource", {
description: "string",
ipVersion: "string",
prefix: "string",
projectId: "string",
vpcId: "string",
defaultPrefixLength: 0,
labels: {
string: "string",
},
maxPrefixLength: 0,
minPrefixLength: 0,
nameservers: ["string"],
region: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
update: "string",
},
});
type: stackit:VpcNetworkRange
properties:
defaultPrefixLength: 0
description: string
ipVersion: string
labels:
string: string
maxPrefixLength: 0
minPrefixLength: 0
nameservers:
- string
prefix: string
projectId: string
region: string
timeouts:
create: string
delete: string
read: string
update: string
vpcId: string
VpcNetworkRange 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 VpcNetworkRange resource accepts the following input properties:
- Description string
- Description of the VPC network range
- Ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - Prefix string
- The IP prefix for the VPC network range
- Project
Id string - STACKIT project ID to which the VPC network range is associated.
- Vpc
Id string - The VPC ID to which the VPC network range is associated.
- Default
Prefix intLength - Default prefix length for the VPC network range
- Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Max
Prefix intLength - Maximum prefix length for the VPC network range
- Min
Prefix intLength - Minimum prefix length for the VPC network range
- Nameservers List<string>
- List of nameservers for the VPC network range
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Vpc
Network Range Timeouts
- Description string
- Description of the VPC network range
- Ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - Prefix string
- The IP prefix for the VPC network range
- Project
Id string - STACKIT project ID to which the VPC network range is associated.
- Vpc
Id string - The VPC ID to which the VPC network range is associated.
- Default
Prefix intLength - Default prefix length for the VPC network range
- Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Max
Prefix intLength - Maximum prefix length for the VPC network range
- Min
Prefix intLength - Minimum prefix length for the VPC network range
- Nameservers []string
- List of nameservers for the VPC network range
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Vpc
Network Range Timeouts Args
- description string
- Description of the VPC network range
- ip_
version string - IP version of the VPC network range. Possible values are:
ipv4. - prefix string
- The IP prefix for the VPC network range
- project_
id string - STACKIT project ID to which the VPC network range is associated.
- vpc_
id string - The VPC ID to which the VPC network range is associated.
- default_
prefix_ numberlength - Default prefix length for the VPC network range
- labels map(string)
- Labels are key-value string pairs which can be attached to a resource container
- max_
prefix_ numberlength - Maximum prefix length for the VPC network range
- min_
prefix_ numberlength - Minimum prefix length for the VPC network range
- nameservers list(string)
- List of nameservers for the VPC network range
- region string
- The resource region. If not defined, the provider region is used.
- timeouts object
- description String
- Description of the VPC network range
- ip
Version String - IP version of the VPC network range. Possible values are:
ipv4. - prefix String
- The IP prefix for the VPC network range
- project
Id String - STACKIT project ID to which the VPC network range is associated.
- vpc
Id String - The VPC ID to which the VPC network range is associated.
- default
Prefix IntegerLength - Default prefix length for the VPC network range
- labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix IntegerLength - Maximum prefix length for the VPC network range
- min
Prefix IntegerLength - Minimum prefix length for the VPC network range
- nameservers List<String>
- List of nameservers for the VPC network range
- region String
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts
- description string
- Description of the VPC network range
- ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - prefix string
- The IP prefix for the VPC network range
- project
Id string - STACKIT project ID to which the VPC network range is associated.
- vpc
Id string - The VPC ID to which the VPC network range is associated.
- default
Prefix numberLength - Default prefix length for the VPC network range
- labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix numberLength - Maximum prefix length for the VPC network range
- min
Prefix numberLength - Minimum prefix length for the VPC network range
- nameservers string[]
- List of nameservers for the VPC network range
- region string
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts
- description str
- Description of the VPC network range
- ip_
version str - IP version of the VPC network range. Possible values are:
ipv4. - prefix str
- The IP prefix for the VPC network range
- project_
id str - STACKIT project ID to which the VPC network range is associated.
- vpc_
id str - The VPC ID to which the VPC network range is associated.
- default_
prefix_ intlength - Default prefix length for the VPC network range
- labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- max_
prefix_ intlength - Maximum prefix length for the VPC network range
- min_
prefix_ intlength - Minimum prefix length for the VPC network range
- nameservers Sequence[str]
- List of nameservers for the VPC network range
- region str
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts Args
- description String
- Description of the VPC network range
- ip
Version String - IP version of the VPC network range. Possible values are:
ipv4. - prefix String
- The IP prefix for the VPC network range
- project
Id String - STACKIT project ID to which the VPC network range is associated.
- vpc
Id String - The VPC ID to which the VPC network range is associated.
- default
Prefix NumberLength - Default prefix length for the VPC network range
- labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix NumberLength - Maximum prefix length for the VPC network range
- min
Prefix NumberLength - Minimum prefix length for the VPC network range
- nameservers List<String>
- List of nameservers for the VPC network range
- region String
- The resource region. If not defined, the provider region is used.
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the VpcNetworkRange resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Range stringId
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Range stringId
- id string
- The provider-assigned unique ID for this managed resource.
- network_
range_ stringid
- id String
- The provider-assigned unique ID for this managed resource.
- network
Range StringId
- id string
- The provider-assigned unique ID for this managed resource.
- network
Range stringId
- id str
- The provider-assigned unique ID for this managed resource.
- network_
range_ strid
- id String
- The provider-assigned unique ID for this managed resource.
- network
Range StringId
Look up Existing VpcNetworkRange Resource
Get an existing VpcNetworkRange 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?: VpcNetworkRangeState, opts?: CustomResourceOptions): VpcNetworkRange@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
default_prefix_length: Optional[int] = None,
description: Optional[str] = None,
ip_version: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
max_prefix_length: Optional[int] = None,
min_prefix_length: Optional[int] = None,
nameservers: Optional[Sequence[str]] = None,
network_range_id: Optional[str] = None,
prefix: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[VpcNetworkRangeTimeoutsArgs] = None,
vpc_id: Optional[str] = None) -> VpcNetworkRangefunc GetVpcNetworkRange(ctx *Context, name string, id IDInput, state *VpcNetworkRangeState, opts ...ResourceOption) (*VpcNetworkRange, error)public static VpcNetworkRange Get(string name, Input<string> id, VpcNetworkRangeState? state, CustomResourceOptions? opts = null)public static VpcNetworkRange get(String name, Output<String> id, VpcNetworkRangeState state, CustomResourceOptions options)resources: _: type: stackit:VpcNetworkRange get: id: ${id}import {
to = stackit_vpc_network_range.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.
- Default
Prefix intLength - Default prefix length for the VPC network range
- Description string
- Description of the VPC network range
- Ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Max
Prefix intLength - Maximum prefix length for the VPC network range
- Min
Prefix intLength - Minimum prefix length for the VPC network range
- Nameservers List<string>
- List of nameservers for the VPC network range
- Network
Range stringId - Prefix string
- The IP prefix for the VPC network range
- Project
Id string - STACKIT project ID to which the VPC network range is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Vpc
Network Range Timeouts - Vpc
Id string - The VPC ID to which the VPC network range is associated.
- Default
Prefix intLength - Default prefix length for the VPC network range
- Description string
- Description of the VPC network range
- Ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Max
Prefix intLength - Maximum prefix length for the VPC network range
- Min
Prefix intLength - Minimum prefix length for the VPC network range
- Nameservers []string
- List of nameservers for the VPC network range
- Network
Range stringId - Prefix string
- The IP prefix for the VPC network range
- Project
Id string - STACKIT project ID to which the VPC network range is associated.
- Region string
- The resource region. If not defined, the provider region is used.
- Timeouts
Vpc
Network Range Timeouts Args - Vpc
Id string - The VPC ID to which the VPC network range is associated.
- default_
prefix_ numberlength - Default prefix length for the VPC network range
- description string
- Description of the VPC network range
- ip_
version string - IP version of the VPC network range. Possible values are:
ipv4. - labels map(string)
- Labels are key-value string pairs which can be attached to a resource container
- max_
prefix_ numberlength - Maximum prefix length for the VPC network range
- min_
prefix_ numberlength - Minimum prefix length for the VPC network range
- nameservers list(string)
- List of nameservers for the VPC network range
- network_
range_ stringid - prefix string
- The IP prefix for the VPC network range
- project_
id string - STACKIT project ID to which the VPC network range is associated.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts object
- vpc_
id string - The VPC ID to which the VPC network range is associated.
- default
Prefix IntegerLength - Default prefix length for the VPC network range
- description String
- Description of the VPC network range
- ip
Version String - IP version of the VPC network range. Possible values are:
ipv4. - labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix IntegerLength - Maximum prefix length for the VPC network range
- min
Prefix IntegerLength - Minimum prefix length for the VPC network range
- nameservers List<String>
- List of nameservers for the VPC network range
- network
Range StringId - prefix String
- The IP prefix for the VPC network range
- project
Id String - STACKIT project ID to which the VPC network range is associated.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts - vpc
Id String - The VPC ID to which the VPC network range is associated.
- default
Prefix numberLength - Default prefix length for the VPC network range
- description string
- Description of the VPC network range
- ip
Version string - IP version of the VPC network range. Possible values are:
ipv4. - labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix numberLength - Maximum prefix length for the VPC network range
- min
Prefix numberLength - Minimum prefix length for the VPC network range
- nameservers string[]
- List of nameservers for the VPC network range
- network
Range stringId - prefix string
- The IP prefix for the VPC network range
- project
Id string - STACKIT project ID to which the VPC network range is associated.
- region string
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts - vpc
Id string - The VPC ID to which the VPC network range is associated.
- default_
prefix_ intlength - Default prefix length for the VPC network range
- description str
- Description of the VPC network range
- ip_
version str - IP version of the VPC network range. Possible values are:
ipv4. - labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- max_
prefix_ intlength - Maximum prefix length for the VPC network range
- min_
prefix_ intlength - Minimum prefix length for the VPC network range
- nameservers Sequence[str]
- List of nameservers for the VPC network range
- network_
range_ strid - prefix str
- The IP prefix for the VPC network range
- project_
id str - STACKIT project ID to which the VPC network range is associated.
- region str
- The resource region. If not defined, the provider region is used.
- timeouts
Vpc
Network Range Timeouts Args - vpc_
id str - The VPC ID to which the VPC network range is associated.
- default
Prefix NumberLength - Default prefix length for the VPC network range
- description String
- Description of the VPC network range
- ip
Version String - IP version of the VPC network range. Possible values are:
ipv4. - labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- max
Prefix NumberLength - Maximum prefix length for the VPC network range
- min
Prefix NumberLength - Minimum prefix length for the VPC network range
- nameservers List<String>
- List of nameservers for the VPC network range
- network
Range StringId - prefix String
- The IP prefix for the VPC network range
- project
Id String - STACKIT project ID to which the VPC network range is associated.
- region String
- The resource region. If not defined, the provider region is used.
- timeouts Property Map
- vpc
Id String - The VPC ID to which the VPC network range is associated.
Supporting Types
VpcNetworkRangeTimeouts, VpcNetworkRangeTimeoutsArgs
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- Delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- Read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- Update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update string
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update str
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- create String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
- delete String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
- read String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
- update String
- A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Import
In Terraform v1.5.0 and later, the + "" + import + “" + block can be used with the + "” + id + “" + attribute, for example:
# Only use the import statement, if you want to import an existing dns zone
import {
to = stackit_vpc_network_range.example
id = "${var.project_id},${var.vpc_id},${var.region},${var.vpc_network_range_id}"
}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
published on Monday, Aug 17, 2026 by stackitcloud