Looks up the Azure Resource Group.
On Apple macOS, install Homebrew and packages:
brew install azure-cli
brew install jq
brew install terraform
On other platforms, install the appropriate packages.
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
}