output "storage_account" { description = "Account containing state." value = azurerm_storage_account.state.name } output "backend_block" { description = "Paste into the terraform block of any folder that should keep its state here. Change the key per folder." value = <<-EOT backend "azurerm" { resource_group_name = "${azurerm_resource_group.state.name}" storage_account_name = "${azurerm_storage_account.state.name}" container_name = "${azurerm_storage_container.state.name}" key = "CHANGE-ME.tfstate" use_azuread_auth = true } EOT }