Skip to content
This repository has been archived by the owner on Mar 31, 2020. It is now read-only.

Latest commit

 

History

History
31 lines (24 loc) · 718 Bytes

File metadata and controls

31 lines (24 loc) · 718 Bytes

Azure Resource Group lookup module

Looks up the Azure Resource Group.

Prerequisites

On Apple macOS, install Homebrew and packages:

brew install azure-cli
brew install jq
brew install terraform

On other platforms, install the appropriate packages.

Usage

Copy and paste into your Terraform configuration, insert the variables, and run terraform init:

variable "resource_group_name" {}
variable location {}

module "rg_lookup" {
  source   = "github.com/sicz/terraform-azure/resource-group/lookup"
  name     = var.resource_group_name
  location = var.location
}