Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 602 Bytes
resource "random_id" "storage_account" {
byte_length = 8
}
resource "azurerm_storage_account" "terraform_storage" {
name = "tfsta${lower(random_id.storage_account.hex)}"
resource_group_name = "${azurerm_resource_group.terraform_rg.name}"
location = "${var.location}"
account_type = "Standard_LRS"
}
resource "azurerm_storage_container" "terraform_storage_container" {
name = "terraformstoragecontainer"
resource_group_name = "${azurerm_resource_group.terraform_rg.name}"
storage_account_name = "${azurerm_storage_account.terraform_storage.name}"
container_access_type = "private"
}
You can’t perform that action at this time.