terraform-provider-stackitp.../docs/data-sources/postgresflexalpha_database.md

1.3 KiB

page_title subcategory description
stackitprivatepreview_postgresflexalpha_database Data Source - stackitprivatepreview Postgres Flex database resource schema. Must have a region specified in the provider configuration.

stackitprivatepreview_postgresflexalpha_database (Data Source)

Postgres Flex database resource schema. Must have a region specified in the provider configuration.

Example Usage

data "stackitprivatepreview_postgresflexalpha_database" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  database_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}

Schema

Required

  • database_id (String) Database ID.
  • instance_id (String) ID of the Postgres Flex instance.
  • project_id (String) STACKIT project ID to which the instance is associated.

Optional

  • region (String) The resource region. If not defined, the provider region is used.

Read-Only

  • id (String) Terraform's internal resource ID. It is structured as "project_id,region,instance_id,database_id".
  • name (String) Database name.
  • owner (String) Username of the database owner.