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 region 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_region" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
vpc_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu01"
}
Using getVpcRegion
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 getVpcRegion(args: GetVpcRegionArgs, opts?: InvokeOptions): Promise<GetVpcRegionResult>
function getVpcRegionOutput(args: GetVpcRegionOutputArgs, opts?: InvokeOutputOptions): Output<GetVpcRegionResult>def get_vpc_region(project_id: Optional[str] = None,
region: Optional[str] = None,
timeouts: Optional[GetVpcRegionTimeouts] = None,
vpc_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVpcRegionResult
def get_vpc_region_output(project_id: pulumi.Input[Optional[str]] = None,
region: pulumi.Input[Optional[str]] = None,
timeouts: pulumi.Input[Optional[GetVpcRegionTimeoutsArgs]] = None,
vpc_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetVpcRegionResult]func LookupVpcRegion(ctx *Context, args *LookupVpcRegionArgs, opts ...InvokeOption) (*LookupVpcRegionResult, error)
func LookupVpcRegionOutput(ctx *Context, args *LookupVpcRegionOutputArgs, opts ...InvokeOption) LookupVpcRegionResultOutput> Note: This function is named LookupVpcRegion in the Go SDK.
public static class GetVpcRegion
{
public static Task<GetVpcRegionResult> InvokeAsync(GetVpcRegionArgs args, InvokeOptions? opts = null)
public static Output<GetVpcRegionResult> Invoke(GetVpcRegionInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetVpcRegionResult> Invoke(GetVpcRegionInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetVpcRegionResult> getVpcRegion(GetVpcRegionArgs args, InvokeOptions options)
public static Output<GetVpcRegionResult> getVpcRegion(GetVpcRegionArgs args, InvokeOptions options)
public static Output<GetVpcRegionResult> getVpcRegion(GetVpcRegionArgs args, InvokeOutputOptions options)
fn::invoke:
function: stackit:index/getVpcRegion:getVpcRegion
arguments:
# arguments dictionarydata "stackit_get_vpc_region" "name" {
# arguments
}The following arguments are supported:
- 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
Get
Vpc Region Timeouts
- 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
Get
Vpc Region Timeouts
- 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
- 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
Get
Vpc Region Timeouts
- 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
Get
Vpc Region Timeouts
- 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
Get
Vpc Region Timeouts
- 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 Property Map
getVpcRegion Result
The following output properties are available:
- Id string
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
Get
Vpc Region Timeouts
- Id string
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
Get
Vpc Region Timeouts
- id string
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
- id String
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
Get
Vpc Region Timeouts
- id string
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
Get
Vpc Region Timeouts
- id str
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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
Get
Vpc Region Timeouts
- id String
- Terraform's internal resource ID. It is structured as "
projectId,vpcId,region". - 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 Property Map
Supporting Types
GetVpcRegionTimeouts
- 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