Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/questopshub/terraform-azurerm-user-assigned-identity
Terraform module to create a User Assigned Managed Identity.
https://github.com/questopshub/terraform-azurerm-user-assigned-identity
azure azure-infrastructure iac infrastructure-as-code terraform terraform-module
Last synced: 9 days ago
JSON representation
Terraform module to create a User Assigned Managed Identity.
- Host: GitHub
- URL: https://github.com/questopshub/terraform-azurerm-user-assigned-identity
- Owner: QuestOpsHub
- License: mit
- Created: 2025-01-24T00:58:50.000Z (10 days ago)
- Default Branch: main
- Last Pushed: 2025-01-24T20:36:00.000Z (10 days ago)
- Last Synced: 2025-01-24T21:24:23.688Z (10 days ago)
- Topics: azure, azure-infrastructure, iac, infrastructure-as-code, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure User Assigned Managed Identity Terraform Module
Terraform module to create a User Assigned Managed Identity.
# Table of Contents
- [Azure Resource Naming Convention](#azure-resource-naming-convention)
- [Format](#Format)
- [Components](#Components)
- [Requirements](#requirements)
- [Providers](#providers)
- [Modules](#modules)
- [Resources](#resources)
- [Inputs](#inputs)
- [Outputs](#outputs)## Azure Resource Naming Convention
Resource names should clearly indicate their type, workload, environment, and region. Using a consistent naming convention ensures clarity, uniformity, and easy identification across all repositories.
#### Format
```
----
```#### Components
| **Component** | **Description** | **Example** |
|--------------------------|--------------------------------------------------------------------------------------|-------------------------|
| `resource_prefix` | Short abbreviation for the resource type. | `rg` (Resource Group) |
| `app_or_project` | Identifier for the application or project. | `qoh` |
| `environment` | Environment where the resource is deployed (`prod`, `dev`, `test`, etc.). | `prod` |
| `region` | Azure region where the resource resides (e.g., `cus` for `centralus`). | `cus` |
| `optional_unique_suffix` | Optional unique string for ensuring name uniqueness, often random or incremental. | `abcd`, `a42n` |## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >=0.13 |
| [azurerm](#requirement\_azurerm) | >=4.0.0 |## Providers
| Name | Version |
|------|---------|
| [azurerm](#provider\_azurerm) | >=4.0.0 |## Modules
No modules.
## Resources
| Name | Type |
|------|------|
| [azurerm_user_assigned_identity.user_assigned_identity](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/resources/user_assigned_identity) | resource |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [location](#input\_location) | (Required) The Azure Region where the User Assigned Identity should exist. Changing this forces a new User Assigned Identity to be created. | `string` | n/a | yes |
| [name](#input\_name) | (Required) Specifies the name of this User Assigned Identity. Changing this forces a new User Assigned Identity to be created. | `string` | n/a | yes |
| [resource\_group\_name](#input\_resource\_group\_name) | (Required) Specifies the name of the Resource Group within which this User Assigned Identity should exist. Changing this forces a new User Assigned Identity to be created. | `string` | n/a | yes |
| [tags](#input\_tags) | (Optional) A mapping of tags to assign to the resource. | `map(any)` | `{}` | no |## Outputs
| Name | Description |
|------|-------------|
| [client\_id](#output\_client\_id) | The ID of the app associated with the Identity. |
| [id](#output\_id) | The ID of the User Assigned Identity. |
| [name](#output\_name) | The Name of the User Assigned Identity. |
| [principal\_id](#output\_principal\_id) | The ID of the Service Principal object associated with the created Identity. |
| [tenant\_id](#output\_tenant\_id) | The ID of the Tenant which the Identity belongs to. |