Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Created September 29, 2020 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/ad5d81dd6f1b5c01d8f3368898f73531 to your computer and use it in GitHub Desktop.
Save goyalmohit/ad5d81dd6f1b5c01d8f3368898f73531 to your computer and use it in GitHub Desktop.
provider "azurerm" {
version = "=2.20.0"
features {}
}
resource "azurerm_resource_group" "tf-state-resource-group" {
name = "tf-state-rg"
location = "eastus2"
}
resource "azurerm_storage_account" "tf-state-account" {
name = "tfstatemohit20200930"
resource_group_name = azurerm_resource_group.tf-state-resource-group.name
location = "eastus2"
account_tier = "Standard"
account_replication_type = "LRS"
tags = {
usage = "terraform-state-files"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment