azurerm_cosmosdb_mongo_user_definition

Nivis Nix constructor for the azurerm_cosmosdb_mongo_user_definition resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.

Constructor
{
  name,
  cosmos_mongo_database_id,
  password,
  username,
  id ? null,
  inherited_role_names ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • cosmos_mongo_database_id
  • password
  • username
Optional arguments
  • id (defaults to null)
  • inherited_role_names (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • (none)
Example
azurerm_cosmosdb_mongo_user_definition {
  name = "cosmosdb_mongo_user_definition";
  cosmos_mongo_database_id = …;  # required
  password = …;  # required
  username = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.