From bc35dcb726b715d19c48e0e1aeaaf7707ea97056 Mon Sep 17 00:00:00 2001 From: "Marcel S. Henselin" Date: Thu, 29 Jan 2026 17:03:05 +0100 Subject: [PATCH] fix: add missing docs --- .../postgresflexalpha_instance.md | 24 +++++++++++++++++++ docs/resources/postgresflexalpha_instance.md | 10 ++++++++ 2 files changed, 34 insertions(+) diff --git a/docs/data-sources/postgresflexalpha_instance.md b/docs/data-sources/postgresflexalpha_instance.md index b7756a9b..b254eb7d 100644 --- a/docs/data-sources/postgresflexalpha_instance.md +++ b/docs/data-sources/postgresflexalpha_instance.md @@ -31,6 +31,10 @@ data "stackitprivatepreview_postgresflexalpha_instance" "example" { ### Read-Only - `backup_schedule` (String) The schedule for on what time and how often the database backup will be created. The schedule is written as a cron schedule. +- `connection_info` (Attributes) The DNS name and port in the instance overview (see [below for nested schema](#nestedatt--connection_info)) +- `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](#nestedatt--encryption)) - `flavor_id` (String) The id of the instance flavor. - `id` (String) The ID of the instance. - `is_deletable` (Boolean) Whether the instance can be deleted or not. @@ -42,6 +46,26 @@ data "stackitprivatepreview_postgresflexalpha_instance" "example" { - `storage` (Attributes) The object containing information about the storage size and class. (see [below for nested schema](#nestedatt--storage)) - `version` (String) The Postgres version used for the instance. See [Versions Endpoint](/documentation/postgres-flex-service/version/v3alpha1#tag/Version) for supported version parameters. + +### Nested Schema for `connection_info` + +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` diff --git a/docs/resources/postgresflexalpha_instance.md b/docs/resources/postgresflexalpha_instance.md index af2d0d7b..3dc7ef51 100644 --- a/docs/resources/postgresflexalpha_instance.md +++ b/docs/resources/postgresflexalpha_instance.md @@ -62,6 +62,7 @@ import { ### Read-Only +- `connection_info` (Attributes) The DNS name and port in the instance overview (see [below for nested schema](#nestedatt--connection_info)) - `id` (String) The ID of the instance. - `is_deletable` (Boolean) Whether the instance can be deleted or not. - `status` (String) The current status of the instance. @@ -98,3 +99,12 @@ Required: - `kek_key_ring_id` (String) The encryption-key keyring identifier - `kek_key_version` (String) The encryption-key version - `service_account` (String) + + + +### Nested Schema for `connection_info` + +Read-Only: + +- `host` (String) The host of the instance. +- `port` (Number) The port of the instance.