From dfdbe00dc4bbafeda0ad4a71e8499677d167a5e0 Mon Sep 17 00:00:00 2001 From: Harshavardhan Musanalli <10049720+harshavmb@users.noreply.github.com> Date: Fri, 5 Jan 2024 16:00:12 +0100 Subject: [PATCH] #24405: Support VS2022 as a remote_debugging_version --- internal/services/appservice/helpers/linux_web_app_schema.go | 1 + internal/services/appservice/helpers/windows_web_app_schema.go | 1 + internal/services/appservice/linux_web_app_resource_test.go | 2 +- internal/services/appservice/windows_web_app_resource_test.go | 2 +- website/docs/r/linux_web_app.html.markdown | 2 +- website/docs/r/windows_web_app.html.markdown | 2 +- 6 files changed, 6 insertions(+), 4 deletions(-) diff --git a/internal/services/appservice/helpers/linux_web_app_schema.go b/internal/services/appservice/helpers/linux_web_app_schema.go index 70be35d4310a..f55bb88b746d 100644 --- a/internal/services/appservice/helpers/linux_web_app_schema.go +++ b/internal/services/appservice/helpers/linux_web_app_schema.go @@ -175,6 +175,7 @@ func SiteConfigSchemaLinux() *pluginsdk.Schema { ValidateFunc: validation.StringInSlice([]string{ "VS2017", "VS2019", + "VS2022", }, false), }, diff --git a/internal/services/appservice/helpers/windows_web_app_schema.go b/internal/services/appservice/helpers/windows_web_app_schema.go index 9d58745d8122..55e1661d5594 100644 --- a/internal/services/appservice/helpers/windows_web_app_schema.go +++ b/internal/services/appservice/helpers/windows_web_app_schema.go @@ -180,6 +180,7 @@ func SiteConfigSchemaWindows() *pluginsdk.Schema { ValidateFunc: validation.StringInSlice([]string{ "VS2017", "VS2019", + "VS2022", }, false), }, diff --git a/internal/services/appservice/linux_web_app_resource_test.go b/internal/services/appservice/linux_web_app_resource_test.go index 6ceed96c6921..55c10e15683c 100644 --- a/internal/services/appservice/linux_web_app_resource_test.go +++ b/internal/services/appservice/linux_web_app_resource_test.go @@ -1735,7 +1735,7 @@ resource "azurerm_linux_web_app" "test" { local_mysql_enabled = true managed_pipeline_mode = "Integrated" remote_debugging_enabled = true - remote_debugging_version = "VS2019" + remote_debugging_version = "VS2022" use_32_bit_worker = false websockets_enabled = true ftps_state = "FtpsOnly" diff --git a/internal/services/appservice/windows_web_app_resource_test.go b/internal/services/appservice/windows_web_app_resource_test.go index df737c507a65..ae22a8149e7b 100644 --- a/internal/services/appservice/windows_web_app_resource_test.go +++ b/internal/services/appservice/windows_web_app_resource_test.go @@ -2127,7 +2127,7 @@ resource "azurerm_windows_web_app" "test" { local_mysql_enabled = true managed_pipeline_mode = "Integrated" remote_debugging_enabled = true - remote_debugging_version = "VS2019" + remote_debugging_version = "VS2022" use_32_bit_worker = false websockets_enabled = true ftps_state = "FtpsOnly" diff --git a/website/docs/r/linux_web_app.html.markdown b/website/docs/r/linux_web_app.html.markdown index 27823fef7afa..9b803a5ba987 100644 --- a/website/docs/r/linux_web_app.html.markdown +++ b/website/docs/r/linux_web_app.html.markdown @@ -718,7 +718,7 @@ A `site_config` block supports the following: * `remote_debugging_enabled` - (Optional) Should Remote Debugging be enabled? Defaults to `false`. -* `remote_debugging_version` - (Optional) The Remote Debugging Version. Possible values include `VS2017` and `VS2019` +* `remote_debugging_version` - (Optional) The Remote Debugging Version. Possible values include `VS2017`, `VS2019` and `VS2022`. * `scm_ip_restriction` - (Optional) One or more `scm_ip_restriction` blocks as defined above. diff --git a/website/docs/r/windows_web_app.html.markdown b/website/docs/r/windows_web_app.html.markdown index e7f755742216..6fc91974a7d3 100644 --- a/website/docs/r/windows_web_app.html.markdown +++ b/website/docs/r/windows_web_app.html.markdown @@ -743,7 +743,7 @@ A `site_config` block supports the following: * `remote_debugging_enabled` - (Optional) Should Remote Debugging be enabled. Defaults to `false`. -* `remote_debugging_version` - (Optional) The Remote Debugging Version. Possible values include `VS2017` and `VS2019` +* `remote_debugging_version` - (Optional) The Remote Debugging Version. Possible values include `VS2017`, `VS2019` and `VS2022`. * `scm_ip_restriction` - (Optional) One or more `scm_ip_restriction` blocks as defined above.