62 lines
1.5 KiB
Markdown
62 lines
1.5 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_postgresql_instance Resource - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
PostgreSQL instance resource schema.
|
|
---
|
|
|
|
# stackit_postgresql_instance (Resource)
|
|
|
|
PostgreSQL instance resource schema.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
resource "stackit_postgresql_instance" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
name = "example-instance"
|
|
version = "10"
|
|
plan_name = "example-plan-name"
|
|
parameters = {
|
|
sgw_acl = "x.x.x.x/x,y.y.y.y/y"
|
|
}
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `name` (String) Instance name.
|
|
- `plan_name` (String) The selected plan name.
|
|
- `project_id` (String) STACKIT project ID to which the instance is associated.
|
|
- `version` (String) The service version.
|
|
|
|
### Optional
|
|
|
|
- `parameters` (Attributes) (see [below for nested schema](#nestedatt--parameters))
|
|
|
|
### Read-Only
|
|
|
|
- `cf_guid` (String)
|
|
- `cf_space_guid` (String)
|
|
- `dashboard_url` (String)
|
|
- `id` (String) Terraform's internal resource ID.
|
|
- `image_url` (String)
|
|
- `instance_id` (String) ID of the PostgreSQL instance.
|
|
- `organization_guid` (String)
|
|
- `plan_id` (String) The selected plan ID.
|
|
|
|
<a id="nestedatt--parameters"></a>
|
|
### Nested Schema for `parameters`
|
|
|
|
Optional:
|
|
|
|
- `enable_monitoring` (Boolean)
|
|
- `metrics_frequency` (Number)
|
|
- `metrics_prefix` (String)
|
|
- `monitoring_instance_id` (String)
|
|
- `plugins` (List of String)
|
|
- `sgw_acl` (String)
|