diff --git a/cmd/cmd/publishCmd.go b/cmd/cmd/publishCmd.go index 05e9106f..e47e3e29 100644 --- a/cmd/cmd/publishCmd.go +++ b/cmd/cmd/publishCmd.go @@ -293,8 +293,11 @@ func createTargetDirs(destPath string) error { if err != nil { return err } + err = createDir(path.Join(destPath, v)) + if err != nil { + return err + } } - return nil } @@ -405,7 +408,8 @@ func createArchitectureFiles(namespace, provider, distPath, repoName, version, g { "protocols": [ "4.0", - "5.1" + "5.1", + "6.0" ], "os": "%s", "arch": "%s", 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.