Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 1.56 KB

File metadata and controls

42 lines (31 loc) · 1.56 KB
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.

!> 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.

Example Usage

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

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)