Skip to content

Commit

Permalink
feat(DO-1067): Security improvements due to tfsec findings
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeluxe committed May 23, 2022
1 parent 0150eed commit 8db0f2e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ resource "azurerm_storage_account" "storage-account" {
min_tls_version = "TLS1_2"
tags = var.tags

queue_properties {
logging {
delete = true
read = true
write = true
version = "2.0"
retention_policy_days = 14
}
}

blob_properties {
delete_retention_policy {
days = var.delete_retention_policy
Expand Down

0 comments on commit 8db0f2e

Please sign in to comment.