* Update dependency * Add deprecation messages * Modify markdown description * Add year * Typo fix --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
2.1 KiB
2.1 KiB
| page_title | subcategory | description |
|---|---|---|
| stackit_postgresql_instance Data Source - stackit | 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
data "stackit_postgresql_instance" "example" {
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
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)plan_id(String) The selected plan ID.plan_name(String) The selected plan name.version(String) The service version.
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)