Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Viewing docs for stackit v0.0.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
Postgres Flex user data source schema. Must have a region specified in the provider configuration.
Example Usage
data "stackit_postgresflex_user" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
Using getPostgresflexUser
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 getPostgresflexUser(args: GetPostgresflexUserArgs, opts?: InvokeOptions): Promise<GetPostgresflexUserResult>
function getPostgresflexUserOutput(args: GetPostgresflexUserOutputArgs, opts?: InvokeOptions): Output<GetPostgresflexUserResult>def get_postgresflex_user(instance_id: Optional[str] = None,
project_id: Optional[str] = None,
region: Optional[str] = None,
user_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPostgresflexUserResult
def get_postgresflex_user_output(instance_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
user_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPostgresflexUserResult]func LookupPostgresflexUser(ctx *Context, args *LookupPostgresflexUserArgs, opts ...InvokeOption) (*LookupPostgresflexUserResult, error)
func LookupPostgresflexUserOutput(ctx *Context, args *LookupPostgresflexUserOutputArgs, opts ...InvokeOption) LookupPostgresflexUserResultOutput> Note: This function is named LookupPostgresflexUser in the Go SDK.
public static class GetPostgresflexUser
{
public static Task<GetPostgresflexUserResult> InvokeAsync(GetPostgresflexUserArgs args, InvokeOptions? opts = null)
public static Output<GetPostgresflexUserResult> Invoke(GetPostgresflexUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPostgresflexUserResult> getPostgresflexUser(GetPostgresflexUserArgs args, InvokeOptions options)
public static Output<GetPostgresflexUserResult> getPostgresflexUser(GetPostgresflexUserArgs args, InvokeOptions options)
fn::invoke:
function: stackit:index/getPostgresflexUser:getPostgresflexUser
arguments:
# arguments dictionaryThe following arguments are supported:
- Instance
Id string - ID of the PostgresFlex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- User
Id string - User ID.
- Region string
- The resource region. If not defined, the provider region is used.
- Instance
Id string - ID of the PostgresFlex instance.
- Project
Id string - STACKIT project ID to which the instance is associated.
- User
Id string - User ID.
- Region string
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the PostgresFlex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- user
Id String - User ID.
- region String
- The resource region. If not defined, the provider region is used.
- instance
Id string - ID of the PostgresFlex instance.
- project
Id string - STACKIT project ID to which the instance is associated.
- user
Id string - User ID.
- region string
- The resource region. If not defined, the provider region is used.
- instance_
id str - ID of the PostgresFlex instance.
- project_
id str - STACKIT project ID to which the instance is associated.
- user_
id str - User ID.
- region str
- The resource region. If not defined, the provider region is used.
- instance
Id String - ID of the PostgresFlex instance.
- project
Id String - STACKIT project ID to which the instance is associated.
- user
Id String - User ID.
- region String
- The resource region. If not defined, the provider region is used.
getPostgresflexUser Result
The following output properties are available:
- host str
- id str
- instance_
id str - ID of the PostgresFlex instance.
- port int
- project_
id str - STACKIT project ID to which the instance is associated.
- roles Sequence[str]
- user_
id str - User ID.
- username str
- region str
- The resource region. If not defined, the provider region is used.
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.4
published on Friday, Feb 20, 2026 by stackitcloud
published on Friday, Feb 20, 2026 by stackitcloud
