This module manages very basic resources for Azure. These resources are included:
- The resource group
- Deletion lock on resource group level
- Proximity placement groups
Instantiate the module by calling it from Terraform like this:
module "azure-basics" {
source = "dodevops/basics/azure"
version = "<version>"
}
The following requirements are needed by this module:
-
terraform (>=1.0.0)
-
azurerm (>=3.0.0)
The following providers are used by this module:
- azurerm (>=3.0.0)
No modules.
The following resources are used by this module:
- azurerm_management_lock.resource-group-level (resource)
- azurerm_proximity_placement_group.ppg (resource)
- azurerm_resource_group.azure-resource-group (resource)
The following input variables are required:
Description: The azure location used for azure
Type: string
Description: Three letter project key
Type: string
Description: Stage for this ressource group
Type: string
The following input variables are optional (have default values):
Description: Lock ressource group for deletion
Type: bool
Default: true
Description: Manage a proximity placement group for the resource group
Type: bool
Default: true
Description: Map of tags for the resources
Type: map(any)
Default: {}
The following outputs are exported:
Description: The location input variable (can be used for dependency resolution)
Description: The ID of the managed resource group lock
Description: The ID of the generated proximity placement group
Description: The name of the generated resource group
Description: The ID of the generated resource group
Use the terraform module tools to check and generate the documentation by running
docker run -v "$PWD":/terraform ghcr.io/dodevops/terraform-module-tools:latest