* Update module github.com/hashicorp/terraform-plugin-framework to v1.4.0 * Go get tf plugin sdk v2 * fix(deps): update module github.com/hashicorp/terraform-plugin-framework to v1.6.1 * Update examples * Update docs --------- Co-authored-by: Renovate Bot <renovate@whitesourcesoftware.com> Co-authored-by: vicentepinto98 <vicente.pinto@freiheit.com>
39 lines
1.1 KiB
Markdown
39 lines
1.1 KiB
Markdown
---
|
|
# generated by https://github.com/hashicorp/terraform-plugin-docs
|
|
page_title: "stackit_mongodbflex_user Data Source - stackit"
|
|
subcategory: ""
|
|
description: |-
|
|
MongoDB Flex user data source schema. Must have a region specified in the provider configuration.
|
|
---
|
|
|
|
# stackit_mongodbflex_user (Data Source)
|
|
|
|
MongoDB Flex user data source schema. Must have a `region` specified in the provider configuration.
|
|
|
|
## Example Usage
|
|
|
|
```terraform
|
|
data "stackit_mongodbflex_user" "example" {
|
|
project_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
instance_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
user_id = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
|
|
}
|
|
```
|
|
|
|
<!-- schema generated by tfplugindocs -->
|
|
## Schema
|
|
|
|
### Required
|
|
|
|
- `instance_id` (String) ID of the MongoDB Flex instance.
|
|
- `project_id` (String) STACKIT project ID to which the instance is associated.
|
|
- `user_id` (String) User ID.
|
|
|
|
### Read-Only
|
|
|
|
- `database` (String)
|
|
- `host` (String)
|
|
- `id` (String) Terraform's internal data source. ID. It is structured as "`project_id`,`instance_id`,`user_id`".
|
|
- `port` (Number)
|
|
- `roles` (Set of String)
|
|
- `username` (String)
|