Skip to content

Instantly share code, notes, and snippets.

@spy86
Created April 29, 2026 09:41
Show Gist options
  • Select an option

  • Save spy86/46172ca8bab7bed761c1c4f14317e21a to your computer and use it in GitHub Desktop.

Select an option

Save spy86/46172ca8bab7bed761c1c4f14317e21a to your computer and use it in GitHub Desktop.
resource "azurerm_storage_account" "sa_safe" {
name = local.storage_name
resource_group_name = azurerm_resource_group.rg.name
location = azurerm_resource_group.rg.location
account_tier = "Standard"
account_replication_type = "LRS"
tags = local.common_tags
lifecycle {
prevent_destroy = true
ignore_changes = [
tags["owner"]
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment