This modules is responsible for deploying the common stuff required for the reference archicture for Terraform on Azure. More details can be found on the main repository.
module "tf-ref-common-module" {
source = "../../"
location = "francecentral"
tenant_id = var.tenant_id
}
It is part of the reference architecture for Terraform on Azure. More details can be found on the main repository.
You can find an example of usage here.
variable "location" {
description = "Azure location to use"
}
variable "tenant_id" {
description = "The Azure tenant id"
}
output "resource_group_name" {
value = azurerm_resource_group.rg.name
}
Note: You need to be authenticated to a valid Azure subscription (using Azure CLI).
dep ensure -v
export TF_VAR_tenant_id="<YOUR_AZURE_TENANT_ID>"
go test -v ./test/ -timeout 20m