0% found this document useful (0 votes)
4 views1 page

Terraform Azure Resource Group Setup

The document outlines a Terraform configuration that specifies the required version and provider for Azure Resource Manager. It defines a provider with a specific subscription ID and creates a resource group named 'AZado' in Central India. The configuration is set to work with Terraform version 1.0.0 or higher and uses the azurerm provider version 4.18.0.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

Terraform Azure Resource Group Setup

The document outlines a Terraform configuration that specifies the required version and provider for Azure Resource Manager. It defines a provider with a specific subscription ID and creates a resource group named 'AZado' in Central India. The configuration is set to work with Terraform version 1.0.0 or higher and uses the azurerm provider version 4.18.0.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

# Block-1: Top Level (Terraform Setting Blocks)

terraform {
required_version = ">= 1.0.0"
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "4.18.0"
}
}
}
provider "azurerm" {
subscription_id = "113f6753-55b3-4edf-861b-cfe9eaba9ab7"
features {}
}

resource "azurerm_resource_group" "rg" {


name = "AZado"
location = "Central India"
}

You might also like