terraform-provider-stackitp.../docs/resources/postgresflex_user.md
GokceGK 043f1d6331
Add uri to user resources for MongoDB Flex and PostgreSQL Flex (#512)
* add uri to mongodb user resource

* add uri to postgresflex user resource

* update docs

* extend warning about empty uri

* extend warning about empty uri
2024-08-23 09:41:49 +02:00

1.2 KiB

page_title subcategory description
stackit_postgresflex_user Resource - stackit Postgres Flex user resource schema. Must have a region specified in the provider configuration.

stackit_postgresflex_user (Resource)

Postgres Flex user resource schema. Must have a region specified in the provider configuration.

Example Usage

resource "stackit_postgresflex_user" "example" {
  project_id  = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
  username    = "username"
  roles       = ["role"]
}

Schema

Required

  • instance_id (String) ID of the PostgresFlex instance.
  • project_id (String) STACKIT project ID to which the instance is associated.
  • roles (Set of String) Database access levels for the user. Supported values are: login, createdb.
  • username (String)

Read-Only

  • host (String)
  • id (String) Terraform's internal resource ID. It is structured as "project_id,instance_id,user_id".
  • password (String, Sensitive)
  • port (Number)
  • uri (String, Sensitive)
  • user_id (String) User ID.