Ensure function app uses the latest HTTP version

Error: Azure function app does not use HTTP 2.0

Bridgecrew Policy ID: BC_AZR_GENERAL_52
Checkov Check ID: CKV_AZURE_67
Severity: LOW

Azure function app does not use HTTP 2.0

Description

TBA

Fix - Buildtime

Terraform

  • Resource: azurerm_function_app
  • Argument: site_config.http2_enabled
resource "azurerm_function_app" "example" {
           ...
+          site_config {
+          http2_enabled = true
          }
        }

Did this page help you?