azurerm_cosmosdb_mongo_role_definitionNivis Nix constructor for the azurerm_cosmosdb_mongo_role_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,
role_name,
id ? null,
inherited_role_names ? null,
privilege ? null,
timeouts ? null,
overrides ? {}
}Required arguments
cosmos_mongo_database_idrole_name
Optional arguments
id(defaults tonull)inherited_role_names(defaults tonull)privilege(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
azurerm_cosmosdb_mongo_role_definition {
name = "cosmosdb_mongo_role_definition";
cosmos_mongo_database_id = …; # required
role_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.