roles/cosmosdb_custom_roles¶
Overview¶
This page documents the Terraform module implementation, key configuration surfaces, and how it integrates with CAF.
Dependency diagram (Mermaid)¶
graph TD
azurecaf_name.custom_role["azurecaf_name.custom_role"]
azurerm_cosmosdb_sql_role_definition.custom_role["azurerm_cosmosdb_sql_role_definition.custom_role"]
azurerm_cosmosdb_sql_role_definition.custom_role --> azurecaf_name.custom_role
Module Reference¶
Category: roles
Path: modules/roles/cosmosdb_custom_roles
Azure Resources: azurecaf_name, azurerm_cosmosdb_sql_role_definition
Inputs¶
| Name | Description | Type | Required | Default | Validation |
|---|---|---|---|---|---|
name |
any |
yes | - |
- | |
resource_group_name |
any |
yes | - |
- | |
account_name |
any |
yes | - |
- | |
assignable_scopes |
any |
yes | - |
- | |
permissions |
any |
yes | - |
- | |
role_definition_id |
any |
no | - |
- | |
type |
any |
no | CustomRole |
- | |
global_settings |
any |
yes | - |
- |
Outputs¶
| Name | Description | Sensitive | Value |
|---|---|---|---|
id |
- | azurerm_cosmosdb_sql_role_definition.custom_role.id |
Sources¶
modules/roles/cosmosdb_custom_roles/main.tfmodules/roles/cosmosdb_custom_roles/module.tfmodules/roles/cosmosdb_custom_roles/outputs.tfmodules/roles/cosmosdb_custom_roles/variables.tf