Skip to content

Commit

Permalink
Merge pull request #3 from dodevops/feature/te/DO-1067-tfsec
Browse files Browse the repository at this point in the history
feat(DO-1067): Security improvements due to tfsec findings
  • Loading branch information
timdeluxe authored May 24, 2022
2 parents 0150eed + 8db0f2e commit 1331cea
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 1331cea

Please sign in to comment.