Skip to content

Commit

Permalink
Merge pull request #747 from cal-itp/chore/enable-storage-versioning
Browse files Browse the repository at this point in the history
chore: enable versioning on the storage account
  • Loading branch information
afeld authored Jun 27, 2022
2 parents f6034d8 + fd77843 commit 55f35d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions terraform/storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ resource "azurerm_storage_account" "main" {
account_tier = "Standard"
account_replication_type = "RAGRS"

blob_properties {
last_access_time_enabled = true
versioning_enabled = true
}

lifecycle {
ignore_changes = [tags]
}
Expand Down

0 comments on commit 55f35d2

Please sign in to comment.