1. Registry
  2. Packages
  3. stackit
  4. API Docs
  5. VpcRegion
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
stackit logo
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud

    VPC region 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" "example" {
      project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      vpc_id     = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
      region     = "eu01"
    }
    

    Create VpcRegion Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VpcRegion(name: string, args: VpcRegionArgs, opts?: CustomResourceOptions);
    @overload
    def VpcRegion(resource_name: str,
                  args: VpcRegionArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def VpcRegion(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  project_id: Optional[str] = None,
                  vpc_id: Optional[str] = None,
                  region: Optional[str] = None,
                  timeouts: Optional[VpcRegionTimeoutsArgs] = None)
    func NewVpcRegion(ctx *Context, name string, args VpcRegionArgs, opts ...ResourceOption) (*VpcRegion, error)
    public VpcRegion(string name, VpcRegionArgs args, CustomResourceOptions? opts = null)
    public VpcRegion(String name, VpcRegionArgs args)
    public VpcRegion(String name, VpcRegionArgs args, CustomResourceOptions options)
    
    type: stackit:VpcRegion
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "stackit_vpc_region" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args VpcRegionArgs
    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 VpcRegionArgs
    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 VpcRegionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VpcRegionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VpcRegionArgs
    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 vpcRegionResource = new Stackit.VpcRegion("vpcRegionResource", new()
    {
        ProjectId = "string",
        VpcId = "string",
        Region = "string",
        Timeouts = new Stackit.Inputs.VpcRegionTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := stackit.NewVpcRegion(ctx, "vpcRegionResource", &stackit.VpcRegionArgs{
    	ProjectId: pulumi.String("string"),
    	VpcId:     pulumi.String("string"),
    	Region:    pulumi.String("string"),
    	Timeouts: &stackit.VpcRegionTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "stackit_vpc_region" "vpcRegionResource" {
      lifecycle {
        create_before_destroy = true
      }
      project_id = "string"
      vpc_id     = "string"
      region     = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
    }
    
    var vpcRegionResource = new VpcRegion("vpcRegionResource", VpcRegionArgs.builder()
        .projectId("string")
        .vpcId("string")
        .region("string")
        .timeouts(VpcRegionTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    vpc_region_resource = stackit.VpcRegion("vpcRegionResource",
        project_id="string",
        vpc_id="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const vpcRegionResource = new stackit.VpcRegion("vpcRegionResource", {
        projectId: "string",
        vpcId: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: stackit:VpcRegion
    properties:
        projectId: string
        region: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        vpcId: string
    

    VpcRegion 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 VpcRegion resource accepts the following input properties:

    ProjectId string
    STACKIT project ID to which the VPC region is associated.
    VpcId string
    The VPC ID to which the VPC region is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts VpcRegionTimeouts
    ProjectId string
    STACKIT project ID to which the VPC region is associated.
    VpcId string
    The VPC ID to which the VPC region is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts VpcRegionTimeoutsArgs
    project_id string
    STACKIT project ID to which the VPC region is associated.
    vpc_id string
    The VPC ID to which the VPC region is associated.
    region string
    The resource region. If not defined, the provider region is used.
    timeouts object
    projectId String
    STACKIT project ID to which the VPC region is associated.
    vpcId String
    The VPC ID to which the VPC region is associated.
    region String
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeouts
    projectId string
    STACKIT project ID to which the VPC region is associated.
    vpcId string
    The VPC ID to which the VPC region is associated.
    region string
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeouts
    project_id str
    STACKIT project ID to which the VPC region is associated.
    vpc_id str
    The VPC ID to which the VPC region is associated.
    region str
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeoutsArgs
    projectId String
    STACKIT project ID to which the VPC region is associated.
    vpcId String
    The VPC ID to which the VPC region is associated.
    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 VpcRegion 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 VpcRegion Resource

    Get an existing VpcRegion 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?: VpcRegionState, opts?: CustomResourceOptions): VpcRegion
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            project_id: Optional[str] = None,
            region: Optional[str] = None,
            timeouts: Optional[VpcRegionTimeoutsArgs] = None,
            vpc_id: Optional[str] = None) -> VpcRegion
    func GetVpcRegion(ctx *Context, name string, id IDInput, state *VpcRegionState, opts ...ResourceOption) (*VpcRegion, error)
    public static VpcRegion Get(string name, Input<string> id, VpcRegionState? state, CustomResourceOptions? opts = null)
    public static VpcRegion get(String name, Output<String> id, VpcRegionState state, CustomResourceOptions options)
    resources:  _:    type: stackit:VpcRegion    get:      id: ${id}
    import {
      to = stackit_vpc_region.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.
    The following state arguments are supported:
    ProjectId string
    STACKIT project ID to which the VPC region is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts VpcRegionTimeouts
    VpcId string
    The VPC ID to which the VPC region is associated.
    ProjectId string
    STACKIT project ID to which the VPC region is associated.
    Region string
    The resource region. If not defined, the provider region is used.
    Timeouts VpcRegionTimeoutsArgs
    VpcId string
    The VPC ID to which the VPC region is associated.
    project_id string
    STACKIT project ID to which the VPC region 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 region is associated.
    projectId String
    STACKIT project ID to which the VPC region is associated.
    region String
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeouts
    vpcId String
    The VPC ID to which the VPC region is associated.
    projectId string
    STACKIT project ID to which the VPC region is associated.
    region string
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeouts
    vpcId string
    The VPC ID to which the VPC region is associated.
    project_id str
    STACKIT project ID to which the VPC region is associated.
    region str
    The resource region. If not defined, the provider region is used.
    timeouts VpcRegionTimeoutsArgs
    vpc_id str
    The VPC ID to which the VPC region is associated.
    projectId String
    STACKIT project ID to which the VPC region is associated.
    region String
    The resource region. If not defined, the provider region is used.
    timeouts Property Map
    vpcId String
    The VPC ID to which the VPC region is associated.

    Supporting Types

    VpcRegionTimeouts, VpcRegionTimeoutsArgs

    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 region
    import {
      to = stackit_vpc_region.import-example
      id = "${var.project_id},${var.vpc_id},${var_region}"
    }
    

    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 stackit Terraform Provider.
    stackit logo
    Viewing docs for stackit v0.0.7
    published on Monday, Aug 17, 2026 by stackitcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial