An Azure Terraform Ensono Verified Module (EVM) designed to abstract the complexity of provisioning resources related to [ADD SHORT DESCRIPTION OF WHAT THE MODULE DOES].
This repository uses the pre-commit git hook framework which can update and format some files enforcing our Terraform code module best-practices.
More details are available in the CONTRIBUTING.md file.
Examples can be found at the bottom taken from the examples
directory.
Name | Version |
---|---|
azurerm | ~> 4.0 |
No modules.
Name | Type |
---|---|
azurerm_resource_group.this | resource |
Name | Description | Type | Default | Required |
---|---|---|---|---|
azure_location | The Azure target location for all resources managed by this module. | string |
n/a | yes |
azure_location_zones | The Azure target location available zones | set(number) |
n/a | yes |
azure_resource_tags | Resource tags to add to all resources managed by this module. | map(string) |
n/a | yes |
naming_map | A map containing Azure resource anmes aligned to the Cloud Adoption Framework. | any |
n/a | yes |
Name | Description |
---|---|
azure_location | DELETE: temporary to satisfy TFLint rules |
azure_location_zones | DELETE: temporary to satisfy TFLint rules |
azure_resource_tags | DELETE: temporary to satisfy TFLint rules |
naming_map | DELETE: temporary to satisfy TFLint rules |
company_name_short = "ensevm"
subscription_name_short = "con"
module_names = ["firewall"]
azure_location = "westeurope"
/*
Sensitive inputs should be passed as pipeline environment variables
azure_subscription_id = "xxx"
*/
module "example" {
source = "../../"
azure_location = azurerm_resource_group.modules["firewall"].location
azure_location_zones = module.azure_regions.regions_by_name[var.azure_location].zones
naming_map = local.name_map["firewall"]
azure_resource_tags = local.resource_tags
}