No requirements.
Name | Version |
---|---|
azurerm | n/a |
Click to expand
module "role_assignment" {
source = "../"
role_mapping = [
{
role_definition_name = "Key Vault Administrator"
principal_ids = [data.azurerm_client_config.current.object_id, ]
},
{
role_definition_name = "Key Vault Reader"
principal_ids = [data.azurerm_client_config.current.object_id, ]
}
]
scope_id = azurerm_key_vault.this.id
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
role_mapping | Role and principle id mapping. This block requires the following inputs: - role_definition_name : Role Name i.e. Key Vault Administrator - principal_ids : List of ids. |
list(object({ |
n/a | yes |
scope_id | The Id of the scope where the role should be assigned. | string |
n/a | yes |
No outputs.
Name | Type |
---|---|
azurerm_role_assignment.role_assignment | resource |
No modules.