terraform-provider-stackitp.../docs/data-sources/postgresql_instance.md
Vicente Pinto bc27bc20db
Key flow authentication (#67)
* Add key flow params to provider

* Update docs, add examples
2023-10-09 08:15:14 +01:00

1.4 KiB

page_title subcategory description
stackit_postgresql_instance Data Source - stackit PostgreSQL instance data source schema.

stackit_postgresql_instance (Data Source)

PostgreSQL instance data source schema.

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)