avm-utl-roledefinitions

Azure/avm-utl-roledefinitions/azure

Terraform Module HCL AZURE ✓ Verified

Terraform Azure Verified Utility Module for AVM Utility module for role definitions

Install
module "avm-utl-roledefinitions" {
source = "Azure/avm-utl-roledefinitions/azure"
version = "0.2.0"
}
plain text: /constructs/tfmod-azure-avm-utl-roledefinitions-azure/install.txt
⭐ Source on GitHub 📦 Registry page
README

Azure Role Definitions Module This module outputs a simple map of role definition role names to UUIDs and resource IDs. It rationalizes the resource ID to be either tenant root scoped or subscription scoped, depending on the input variable role_definition_scope. This helps with getting idempotent role assignment resources. There is an option to use live data from Azure or cached data within the module, which is updated regularly with built-in roles. Requirements The following requirements are needed by this module: - terraform (~> 1.6) - azapi (~> 2.4) - modtm (~> 0.3) - random (~> 3.6) Resources The following resources are used by this module: - modtm_telemetry.telemetry (resource) - random_uuid.telemetry (resource) - azapi_client_config.current (data source) - azapi_client_config.telemet

Inputs (3)
NameTypeDescriptionDefault
enable_telemetryboolThis variable controls whether or not telemetry is enabled for the module. For mtrue
role_definition_scopestringServes two purposes. First, if using live data, it defines the scope at which tonull
use_cached_databoolIf true, use the cached role definition data. If false, fetch live data from Azutrue
Outputs (2)
role_definition_rolename_to_name — A map of role definition role names, e.g. 'Contributor', to role definition names (UUIDs).
role_definition_rolename_to_resource_id — A map of role definition role names, e.g. 'Contributor', to role definition resource IDs. The resour
Resources (2)
modtm_telemetryrandom_uuid
Details
FrameworkTerraform Module
LanguageHCL
Version0.2.0
Cloud AZURE
★ Stars1
Forks2
Total downloads78.3k
Inputs3
Outputs2
Resources2
Examples2
Submodules1
LicenseMIT
NamespaceAzure
Updated