Skip to content

Commit 2981f97

Browse files
authored
Changed to use TLS 1.2 for Function and Storage (#6)
1 parent 2d547d0 commit 2981f97

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ resource "azurerm_storage_account" "storage" {
1717
account_replication_type = "LRS"
1818
enable_https_traffic_only = true
1919
allow_blob_public_access = false
20+
min_tls_version = "TLS1_2"
2021
}
2122

2223
resource "azurerm_app_service_plan" "serverfarm" {
@@ -49,6 +50,7 @@ resource "azurerm_function_app" "function" {
4950
https_only = true
5051
client_affinity_enabled = false
5152
enable_builtin_logging = false
53+
min_tls_version = "1.2"
5254

5355
app_settings = merge({
5456
"APPLICATIONINSIGHTS_CONNECTION_STRING" = azurerm_application_insights.insights.connection_string

0 commit comments

Comments
 (0)