From 186a8e4fae08b444a20ac686972878ba4dcd78a0 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 20 Aug 2025 16:52:53 +0200 Subject: [PATCH 1/2] chore(gen): content review MTA-6396 --- .../how-to/configure-alerts-containers.mdx | 2 +- .../reference-content/cron-schedules.mdx | 2 +- pages/serverless-functions/quickstart.mdx | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pages/serverless-containers/how-to/configure-alerts-containers.mdx b/pages/serverless-containers/how-to/configure-alerts-containers.mdx index d00de2e6fb..ee12d2b629 100644 --- a/pages/serverless-containers/how-to/configure-alerts-containers.mdx +++ b/pages/serverless-containers/how-to/configure-alerts-containers.mdx @@ -3,7 +3,7 @@ title: How to configure alerts for a container description: Learn how to add monitoring alerts to Serverless Containers with Scaleway. tags: containers alerts grafana threshold monitoring cockpit dates: - validation: 2025-02-10 + validation: 2025-08-20 posted: 2025-02-10 --- import Requirements from '@macros/iam/requirements.mdx' diff --git a/pages/serverless-containers/reference-content/cron-schedules.mdx b/pages/serverless-containers/reference-content/cron-schedules.mdx index 826da5b77b..5e7707c044 100644 --- a/pages/serverless-containers/reference-content/cron-schedules.mdx +++ b/pages/serverless-containers/reference-content/cron-schedules.mdx @@ -3,7 +3,7 @@ title: Cron schedules reference description: Guide to setting up cron schedules in Scaleway Serverless Containers. tags: serverless containers cron crontab schedule cronjob dates: - validation: 2025-02-10 + validation: 2025-08-20 posted: 2023-12-12 --- import CronSchedules from '@macros/serverless/cron-schedules.mdx' diff --git a/pages/serverless-functions/quickstart.mdx b/pages/serverless-functions/quickstart.mdx index 005dd9a95b..d486041e33 100644 --- a/pages/serverless-functions/quickstart.mdx +++ b/pages/serverless-functions/quickstart.mdx @@ -3,7 +3,7 @@ title: Functions - Quickstart description: Quickstart guide to deploying and managing Serverless Functions on Scaleway. tags: functions namespace dates: - validation: 2025-02-10 + validation: 2025-08-20 posted: 2021-05-26 --- import Requirements from '@macros/iam/requirements.mdx' @@ -31,7 +31,7 @@ Follow this guided tour to discover how to deploy a function using the console. - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization - Installed [cURL](https://everything.curl.dev/install/) -## How to create a function +## How to create a Serverless Function If you have no existing Serverless Functions resources in your current Project, the creation process will guide you through the creation of a namespace, and then a function. @@ -72,6 +72,10 @@ If you have no existing Serverless Functions resources in your current Project, The **Output** section displays the response from your function and the status code. + +Make sure that your function's privacy policy is set to **Public**. Testing a private function this way will result in an error. Refer to the [dedicated troubleshooting page](/serverless-functions/troubleshooting/tests-fail-on-function/) for more information. + + ## How to delete a function 1. Click **Functions** in the **Serverless** section of the side menu. The functions page displays. From 617723cc4fcc2c7ce0ab5d07368acd53f85324e2 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 20 Aug 2025 17:04:15 +0200 Subject: [PATCH 2/2] chore(gen): update --- pages/serverless-functions/quickstart.mdx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/serverless-functions/quickstart.mdx b/pages/serverless-functions/quickstart.mdx index d486041e33..65bf821eaa 100644 --- a/pages/serverless-functions/quickstart.mdx +++ b/pages/serverless-functions/quickstart.mdx @@ -29,7 +29,6 @@ Follow this guided tour to discover how to deploy a function using the console. - A Scaleway account logged into the [console](https://console.scaleway.com) - [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization -- Installed [cURL](https://everything.curl.dev/install/) ## How to create a Serverless Function @@ -62,7 +61,7 @@ If you have no existing Serverless Functions resources in your current Project, 6. Click **Create function**. The deployment takes several minutes to complete. Check the **Overview** tab to see the function's status. -## How to test a function +## How to test a Serverless Function 1. Click the **Test** tab of your function. @@ -73,10 +72,14 @@ If you have no existing Serverless Functions resources in your current Project, The **Output** section displays the response from your function and the status code. -Make sure that your function's privacy policy is set to **Public**. Testing a private function this way will result in an error. Refer to the [dedicated troubleshooting page](/serverless-functions/troubleshooting/tests-fail-on-function/) for more information. +- Alternatively, you can test your function by running the command below in a terminal: + ```sh + curl + ``` +- Make sure that your function's privacy policy is set to **Public**. Testing a private function this way will result in an error. Refer to the [dedicated troubleshooting page](/serverless-functions/troubleshooting/tests-fail-on-function/) for more information. -## How to delete a function +## How to delete a Serverless Function 1. Click **Functions** in the **Serverless** section of the side menu. The functions page displays.