diff --git a/internal/services/logic/logic_app_standard_resource.go b/internal/services/logic/logic_app_standard_resource.go index 6d3ff8b855c6..e59d70d6252d 100644 --- a/internal/services/logic/logic_app_standard_resource.go +++ b/internal/services/logic/logic_app_standard_resource.go @@ -793,8 +793,6 @@ func schemaLogicAppStandardSiteConfig() *pluginsdk.Schema { Optional: true, Computed: true, ValidateFunc: validation.StringInSlice([]string{ - string(webapps.SupportedTlsVersionsOnePointZero), - string(webapps.SupportedTlsVersionsOnePointOne), string(webapps.SupportedTlsVersionsOnePointTwo), }, false), }, @@ -819,8 +817,6 @@ func schemaLogicAppStandardSiteConfig() *pluginsdk.Schema { Optional: true, Computed: true, ValidateFunc: validation.StringInSlice([]string{ - string(webapps.SupportedTlsVersionsOnePointZero), - string(webapps.SupportedTlsVersionsOnePointOne), string(webapps.SupportedTlsVersionsOnePointTwo), }, false), }, @@ -917,6 +913,26 @@ func schemaLogicAppStandardSiteConfig() *pluginsdk.Schema { Computed: true, Deprecated: "the `site_config.public_network_access_enabled` property has been superseded by the `public_network_access` property and will be removed in v5.0 of the AzureRM Provider.", } + schema.Elem.(*pluginsdk.Resource).Schema["scm_min_tls_version"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validation.StringInSlice([]string{ + string(webapps.SupportedTlsVersionsOnePointZero), + string(webapps.SupportedTlsVersionsOnePointOne), + string(webapps.SupportedTlsVersionsOnePointTwo), + }, false), + } + schema.Elem.(*pluginsdk.Resource).Schema["min_tls_version"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeString, + Optional: true, + Computed: true, + ValidateFunc: validation.StringInSlice([]string{ + string(webapps.SupportedTlsVersionsOnePointZero), + string(webapps.SupportedTlsVersionsOnePointOne), + string(webapps.SupportedTlsVersionsOnePointTwo), + }, false), + } } return schema diff --git a/website/docs/5.0-upgrade-guide.html.markdown b/website/docs/5.0-upgrade-guide.html.markdown index 369c74e553c8..8b82add825a0 100644 --- a/website/docs/5.0-upgrade-guide.html.markdown +++ b/website/docs/5.0-upgrade-guide.html.markdown @@ -101,6 +101,8 @@ Please follow the format in the example below for listing breaking changes in re ### `azurerm_logic_app_standard` * The deprecated `site_config.public_network_access_enabled` property has been removed and superseded by the `public_network_access` property. +* The `site_config.min_tls_version` property no longer accepts `1.0` or `1.1` as a value. +* The `site_config.scm_min_tls_version` property no longer accepts `1.0` or `1.1` as a value. ### `azurerm_monitor_aad_diagnostic_setting` diff --git a/website/docs/r/logic_app_standard.html.markdown b/website/docs/r/logic_app_standard.html.markdown index e255b162bb4d..adabe81a2b34 100644 --- a/website/docs/r/logic_app_standard.html.markdown +++ b/website/docs/r/logic_app_standard.html.markdown @@ -211,12 +211,16 @@ The `site_config` block supports the following: * `scm_min_tls_version` - (Optional) Configures the minimum version of TLS required for SSL requests to the SCM site. Possible values are `1.0`, `1.1` and `1.2`. +~> **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * `scm_type` - (Optional) The type of Source Control used by the Logic App in use by the Windows Function App. Defaults to `None`. Possible values are: `BitbucketGit`, `BitbucketHg`, `CodePlexGit`, `CodePlexHg`, `Dropbox`, `ExternalGit`, `ExternalHg`, `GitHub`, `LocalGit`, `None`, `OneDrive`, `Tfs`, `VSO`, and `VSTSRM` * `linux_fx_version` - (Optional) Linux App Framework and version for the App Service, e.g. `DOCKER|(golang:latest)`. Setting this value will also set the `kind` of application deployed to `functionapp,linux,container,workflowapp` * `min_tls_version` - (Optional) The minimum supported TLS version for the Logic App. Possible values are `1.0`, `1.1`, and `1.2`. Defaults to `1.2` for new Logic Apps. +~> **Note** Azure Services will require TLS 1.2+ by August 2025, please see this [announcement](https://azure.microsoft.com/en-us/updates/v2/update-retirement-tls1-0-tls1-1-versions-azure-services/) for more. + * `pre_warmed_instance_count` - (Optional) The number of pre-warmed instances for this Logic App Only affects apps on the Premium plan. * `runtime_scale_monitoring_enabled` - (Optional) Should Runtime Scale Monitoring be enabled?. Only applicable to apps on the Premium plan. Defaults to `false`.