Skip to content

Commit

Permalink
add support of last_access_time_enabled parameter (#4)
Browse files Browse the repository at this point in the history
* add last_access_time_enabled parameter

* fix typo
  • Loading branch information
yohanhounsounou authored Mar 22, 2022
1 parent 60d78b0 commit ccded31
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions storage.tf
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ resource "azurerm_storage_account" "quortex" {
account_tier = var.storage_tier
account_replication_type = var.storage_replication_type
account_kind = var.storage_kind
blob_properties {
last_access_time_enabled = var.last_access_time_enabled
}

tags = var.tags
}
Expand Down
8 changes: 7 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ variable "storage_replication_type" {
}

variable "tags" {
type = map
type = map(any)
description = "Tags to apply to resources. A list of key->value pairs."
default = {}
}

variable "last_access_time_enabled" {
type = bool
description = "Is the last access time based tracking enabled?"
default = false
}

0 comments on commit ccded31

Please sign in to comment.