This is a Dynamic module in Terraform to create Identities and policies. This module will be called from ../env/dev.tf modules file.
- main.tf : contains all the resources, which will be created with
terraform apply
command. - variables.tf : contains all the variables required to create the resources.
- outputs.tf : print output attributes of the resources.
Name | Version |
---|---|
azurerm | n/a |
No modules.
Name | Type |
---|---|
azurerm_resource_group.resource_group | resource |
azurerm_user_assigned_identity.user_assigned_identity | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
environment | Name of the environment where infrastructure being built. | string |
n/a | yes |
location | Azure location where all the resources being created. | string |
n/a | yes |
name | Name is the prefix to use for resources that needs to be created. | string |
n/a | yes |
tags | A map of the tags to use on the resources that are deployed with this module. | map(string) |
n/a | yes |
Name | Description |
---|---|
location | Azure location where all the resources being created. |
principal_id | Azure Managed identity principal id. |
resource_group_name | The name of the resource group in which the resources will be created. |
user_id | Azure Managed Identity id. |