Skip to content

Instantly share code, notes, and snippets.

@mikhailshilkov
Created August 19, 2019 20:44
Show Gist options
  • Save mikhailshilkov/f777835fd65b43c1afebfd3d664a9fbc to your computer and use it in GitHub Desktop.
Save mikhailshilkov/f777835fd65b43c1afebfd3d664a9fbc to your computer and use it in GitHub Desktop.
provider "azurerm" {
version = "= 1.32.1"
}
resource "azurerm_resource_group" "rg" {
name = "testResourceGroup"
location = "westus"
}
resource "azurerm_storage_account" "atftest" {
name = "atftest"
resource_group_name = "${azurerm_resource_group.rg.name}"
location = "westus"
account_tier = "Standard"
account_replication_type = "LRS"
}
resource "azurerm_storage_table" "test" {
name = "mysampletable"
resource_group_name = "${azurerm_resource_group.rg.name}"
storage_account_name = "${azurerm_storage_account.atftest.name}"
}
resource "azurerm_storage_table" "test2" {
name = "mysampletable2"
resource_group_name = "${azurerm_resource_group.rg.name}"
storage_account_name = "${azurerm_storage_account.atftest.name}"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment