Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud
VPC datasource schema.
This datasource 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
data "stackit_vpc" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
vpc_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getVpc
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVpc(args: GetVpcArgs, opts?: InvokeOptions): Promise<GetVpcResult>
function getVpcOutput(args: GetVpcOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcResult>def get_vpc(project_id: Optional[str] = None,
timeouts: Optional[GetVpcTimeouts] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcResult
def get_vpc_output(project_id: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetVpcTimeoutsArgs]] = None,
vpc_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcResult]func LookupVpc(ctx *Context, args *LookupVpcArgs, opts ...InvokeOption) (*LookupVpcResult, error)
func LookupVpcOutput(ctx *Context, args *LookupVpcOutputArgs, opts ...InvokeOption) LookupVpcResultOutput> Note: This function is named LookupVpc in the Go SDK.
public static class GetVpc
{
public static Task<GetVpcResult> InvokeAsync(GetVpcArgs args, InvokeOptions? opts = null)
public static Output<GetVpcResult> Invoke(GetVpcInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpcResult> Invoke(GetVpcInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcResult> getVpc(GetVpcArgs args, InvokeOptions options)
public static Output<GetVpcResult> getVpc(GetVpcArgs args, InvokeOptions options)
public static Output<GetVpcResult> getVpc(GetVpcArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getVpc:getVpc
arguments:
# arguments dictionarydata "stackit_get_vpc" "name" {
# arguments
}The following arguments are supported:
- Project
Id string - STACKIT project ID to which the VPC is associated.
- Vpc
Id string - The VPC ID.
- Timeouts
Get
Vpc Timeouts
- Project
Id string - STACKIT project ID to which the VPC is associated.
- Vpc
Id string - The VPC ID.
- Timeouts
Get
Vpc Timeouts
- project_
id string - STACKIT project ID to which the VPC is associated.
- vpc_
id string - The VPC ID.
- timeouts object
- project
Id String - STACKIT project ID to which the VPC is associated.
- vpc
Id String - The VPC ID.
- timeouts
Get
Vpc Timeouts
- project
Id string - STACKIT project ID to which the VPC is associated.
- vpc
Id string - The VPC ID.
- timeouts
Get
Vpc Timeouts
- project_
id str - STACKIT project ID to which the VPC is associated.
- vpc_
id str - The VPC ID.
- timeouts
Get
Vpc Timeouts
- project
Id String - STACKIT project ID to which the VPC is associated.
- vpc
Id String - The VPC ID.
- timeouts Property Map
getVpc Result
The following output properties are available:
- Description string
- The description of the VPC.
- Id string
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - Labels Dictionary<string, string>
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the VPC.
- Project
Id string - STACKIT project ID to which the VPC is associated.
- Vpc
Id string - The VPC ID.
- Timeouts
Get
Vpc Timeouts
- Description string
- The description of the VPC.
- Id string
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - Labels map[string]string
- Labels are key-value string pairs which can be attached to a resource container
- Name string
- The name of the VPC.
- Project
Id string - STACKIT project ID to which the VPC is associated.
- Vpc
Id string - The VPC ID.
- Timeouts
Get
Vpc Timeouts
- description string
- The description of the VPC.
- id string
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - labels map(string)
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the VPC.
- project_
id string - STACKIT project ID to which the VPC is associated.
- vpc_
id string - The VPC ID.
- timeouts object
- description String
- The description of the VPC.
- id String
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - labels Map<String,String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the VPC.
- project
Id String - STACKIT project ID to which the VPC is associated.
- vpc
Id String - The VPC ID.
- timeouts
Get
Vpc Timeouts
- description string
- The description of the VPC.
- id string
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - labels {[key: string]: string}
- Labels are key-value string pairs which can be attached to a resource container
- name string
- The name of the VPC.
- project
Id string - STACKIT project ID to which the VPC is associated.
- vpc
Id string - The VPC ID.
- timeouts
Get
Vpc Timeouts
- description str
- The description of the VPC.
- id str
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - labels Mapping[str, str]
- Labels are key-value string pairs which can be attached to a resource container
- name str
- The name of the VPC.
- project_
id str - STACKIT project ID to which the VPC is associated.
- vpc_
id str - The VPC ID.
- timeouts
Get
Vpc Timeouts
- description String
- The description of the VPC.
- id String
- Terraform's internal resource identifier. It is structured as "
projectId,vpcId". - labels Map<String>
- Labels are key-value string pairs which can be attached to a resource container
- name String
- The name of the VPC.
- project
Id String - STACKIT project ID to which the VPC is associated.
- vpc
Id String - The VPC ID.
- timeouts Property Map
Supporting Types
GetVpcTimeouts
- 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 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 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 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 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 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 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).
Package Details
- Repository
- stackit stackitcloud/pulumi-stackit
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
stackitTerraform Provider.
Viewing docs for stackit v0.0.7
published on Monday, Aug 17, 2026 by stackitcloud
published on Monday, Aug 17, 2026 by stackitcloud