diff --git a/.changes/unreleased/BUG FIXES-20251222-200736.yaml b/.changes/unreleased/BUG FIXES-20251222-200736.yaml new file mode 100644 index 000000000..bf55423f0 --- /dev/null +++ b/.changes/unreleased/BUG FIXES-20251222-200736.yaml @@ -0,0 +1,3 @@ +kind: BUG FIXES +body: change severity level for yandex function and serverless container +time: 2025-12-22T20:07:36.738832+03:00 diff --git a/yandex/resource_yandex_function.go b/yandex/resource_yandex_function.go index b3a3618ed..634d4ecfc 100644 --- a/yandex/resource_yandex_function.go +++ b/yandex/resource_yandex_function.go @@ -547,7 +547,7 @@ func resourceYandexFunctionDiagsFromCreateVersionError(err error) diag.Diagnosti return nil } return diag.Diagnostics{diag.Diagnostic{ - Severity: diag.Warning, + Severity: diag.Error, Summary: "Failed to create version for Yandex Cloud Function", Detail: "Error while requesting API to create version for Yandex Cloud Function. " + "After resolving following issues apply resource again to create version for Yandex Cloud Function:\n" + diff --git a/yandex/resource_yandex_serverless_container.go b/yandex/resource_yandex_serverless_container.go index 2d59ae328..e8f52d662 100644 --- a/yandex/resource_yandex_serverless_container.go +++ b/yandex/resource_yandex_serverless_container.go @@ -562,7 +562,7 @@ func resourceYandexServerlessContainerDiagsFromDeployRevisionError(err error) di return nil } return diag.Diagnostics{diag.Diagnostic{ - Severity: diag.Warning, + Severity: diag.Error, Summary: "Failed to deploy revision for Yandex Cloud Container", Detail: "Error while requesting API to deploy revision for Yandex Cloud Container. " + "After resolving following issues apply resource again to deploy revision for Yandex Cloud Container:\n" +