Skip to content

jcorioland/terraform-azure-ref-common-module

Repository files navigation

Build Status

Common Terraform Module

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.

Usage

module "tf-ref-common-module" {
  source                           = "../../"
  location                         = "francecentral"
  tenant_id                        = var.tenant_id
}

Scenarios

It is part of the reference architecture for Terraform on Azure. More details can be found on the main repository.

Examples

You can find an example of usage here.

Inputs

variable "location" {
  description = "Azure location to use"
}

variable "tenant_id" {
  description = "The Azure tenant id"
}

Outputs

output "resource_group_name" {
  value = azurerm_resource_group.rg.name
}

Run tests

On your machine

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

About

Common components modules for Terraform on Azure Reference Architecture. https://github.com/jcorioland/terraform-azure-reference

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published