| 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. |
MongoDB Flex user data source schema. Must have a region specified in the provider configuration.
!> STACKIT provides a Terraform provider that enables the deployment and ordering of MongoDB Flex. However, please exercise caution when using Terraform, as some API calls initiated through Terraform may behave differently than expected. Before applying any changes, ensure you review them carefully or contact us if you are unsure about the usage. Please note that updates may result in the recreation of the entire instance, which could lead to data loss.
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"
}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.
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)