Skip to content
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.

Commit

Permalink
Add minimum TLS version to storage account
Browse files Browse the repository at this point in the history
  • Loading branch information
JimMadge committed May 4, 2021
1 parent 298e4b6 commit 84afaa6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ resource "azurerm_storage_account" "this" {
name = substr(lower("${local.resource_tag.storage_account}${random_string.storage_suffix.result}"), 0, 24)
resource_group_name = azurerm_resource_group.this.name
location = var.location
min_tls_version = "TLS1_2"

# Only FileStorage accounts support SMB/NFS shares on Premium (SSD) storage
account_kind = "FileStorage"
Expand Down

0 comments on commit 84afaa6

Please sign in to comment.