terraform-provider-stackitp.../docs/data-sources/postgresflexalpha_instance.md
Marcel S. Henselin d6d3a795bb
Some checks failed
CI Workflow / Check GoReleaser config (pull_request) Successful in 4s
CI Workflow / Test readiness for publishing provider (pull_request) Failing after 3m57s
CI Workflow / CI run tests (pull_request) Failing after 5m5s
CI Workflow / CI run build and linting (pull_request) Failing after 4m50s
CI Workflow / Code coverage report (pull_request) Has been skipped
chore: work save
2026-03-05 15:11:15 +01:00

3.5 KiB

page_title subcategory description
stackitprivatepreview_postgresflexalpha_instance Data Source - stackitprivatepreview

stackitprivatepreview_postgresflexalpha_instance (Data Source)

Example Usage

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

Schema

Required

  • instance_id (String) The ID of the instance.
  • project_id (String) The STACKIT project ID.
  • region (String) The region which should be addressed

Read-Only

  • acl (List of String) List of IPV4 cidr.
  • backup_schedule (String) The schedule for when the database backup will be created. Currently, ONLY daily schedules are supported (every 24 hours). The schedule is written as a cron schedule.
  • connection_info (Attributes) The connection information of the instance (see below for nested schema)
  • encryption (Attributes) The configuration for instance's volume and backup storage encryption.

⚠︝ Note: This feature is in private preview. Supplying this object is only permitted for enabled accounts. If your account does not have access, the request will be rejected. (see below for nested schema)

  • flavor_id (String) The id of the instance flavor.
  • is_deletable (Boolean) Whether the instance can be deleted or not.
  • name (String) The name of the instance.
  • network (Attributes) The access configuration of the instance (see below for nested schema)
  • replicas (Number) How many replicas the instance should have.
  • retention_days (Number) How long backups are retained. The value can only be between 32 and 365 days.
  • status (String) The current status of the instance.
  • storage (Attributes) The object containing information about the storage size and class. (see below for nested schema)
  • tf_original_api_id (String) The ID of the instance.
  • version (String) The Postgres version used for the instance. See Versions Endpoint for supported version parameters.

Nested Schema for connection_info

Read-Only:

Nested Schema for connection_info.write

Read-Only:

  • host (String) The host of the instance.
  • port (Number) The port of the instance.

Nested Schema for encryption

Read-Only:

  • kek_key_id (String) The encryption-key key identifier
  • kek_key_ring_id (String) The encryption-key keyring identifier
  • kek_key_version (String) The encryption-key version
  • service_account (String)

Nested Schema for network

Read-Only:

  • access_scope (String) The access scope of the instance. It defines if the instance is public or airgapped.
  • acl (List of String) List of IPV4 cidr.
  • instance_address (String)
  • router_address (String)

Nested Schema for storage

Read-Only:

  • performance_class (String) The storage class for the storage.
  • size (Number) The storage size in Gigabytes.