* Update dependency * Add deprecation messages * Modify markdown description * Add year * Typo fix --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
57 lines
2.1 KiB
Markdown
57 lines
2.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_postgresql_instance Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
PostgreSQL instance data source schema. Must have a region specified in the provider configuration.
|
|
!> The STACKIT PostgreSQL service will reach its end of support on June 30th 2024. Data sources of this type will stop working after that. Use stackitpostgresflexinstance instead. For more details, check https://docs.stackit.cloud/stackit/en/bring-your-data-to-stackit-postgresql-flex-138347648.html
|
|
---
|
|
|
|
# stackit_postgresql_instance (Data Source)
|
|
|
|
PostgreSQL instance data source schema. Must have a `region` specified in the provider configuration.
|
|
|
|
!> The STACKIT PostgreSQL service will reach its end of support on June 30th 2024. Data sources of this type will stop working after that. Use stackit_postgresflex_instance instead. For more details, check https://docs.stackit.cloud/stackit/en/bring-your-data-to-stackit-postgresql-flex-138347648.html
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "stackit_postgresql_instance" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `instance_id` (String) ID of the PostgreSQL instance.
|
|
- `project_id` (String) STACKIT Project ID to which the instance is associated.
|
|
|
|
### Read-Only
|
|
|
|
- `cf_guid` (String)
|
|
- `cf_organization_guid` (String)
|
|
- `cf_space_guid` (String)
|
|
- `dashboard_url` (String)
|
|
- `id` (String) Terraform's internal data source. identifier. It is structured as "`project_id`,`instance_id`".
|
|
- `image_url` (String)
|
|
- `name` (String) Instance name.
|
|
- `parameters` (Attributes) (see [below for nested schema](#nestedatt--parameters))
|
|
- `plan_id` (String) The selected plan ID.
|
|
- `plan_name` (String) The selected plan name.
|
|
- `version` (String) The service version.
|
|
|
|
<a id="nestedatt--parameters"></a>
|
|
### Nested Schema for `parameters`
|
|
|
|
Read-Only:
|
|
|
|
- `enable_monitoring` (Boolean)
|
|
- `metrics_frequency` (Number)
|
|
- `metrics_prefix` (String)
|
|
- `monitoring_instance_id` (String)
|
|
- `plugins` (List of String)
|
|
- `sgw_acl` (String)
|