From 0b6b663f668fc03a48dc69373ba32567530f2e9f Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Tue, 22 Jul 2025 16:58:56 +0200 Subject: [PATCH 1/2] fix(srv): add missing env var for jobs x cli tuto MTA-6306 --- tutorials/power-on-off-instances-jobs/index.mdx | 5 +++-- tutorials/snapshot-instances-jobs/index.mdx | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tutorials/power-on-off-instances-jobs/index.mdx b/tutorials/power-on-off-instances-jobs/index.mdx index 3a928cf9ef..d788cdb23a 100644 --- a/tutorials/power-on-off-instances-jobs/index.mdx +++ b/tutorials/power-on-off-instances-jobs/index.mdx @@ -45,10 +45,11 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n - `SCW_SECRET_KEY`: your API secret key. - `SCW_DEFAULT_PROJECT_ID`: your Project ID. - `SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID. - - `SCW_DEFAULT_REGION`: the preferred region. + - `SCW_DEFAULT_REGION`: the desired region. + - `SCW_DEFAULT_ZONE`: the desired availability zone. - We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. + We recommend using [Secret Manager] to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. For more details about variables used by `cli`, refer to the [CLI config documentation](https://cli.scaleway.com/instance/#power-on-server). diff --git a/tutorials/snapshot-instances-jobs/index.mdx b/tutorials/snapshot-instances-jobs/index.mdx index fc3153160f..93a29e83bc 100644 --- a/tutorials/snapshot-instances-jobs/index.mdx +++ b/tutorials/snapshot-instances-jobs/index.mdx @@ -42,7 +42,8 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n - `SCW_SECRET_KEY`: your API secret key. - `SCW_DEFAULT_PROJECT_ID`: your Project ID. - `SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID. - - `SCW_DEFAULT_REGION`: concerned region. + - `SCW_DEFAULT_REGION`: the desired region. + - `SCW_DEFAULT_ZONE`: the desired availability zone. We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. From 1b5633fb6dd31702423c93e575ed2b4ecfc0d7e0 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Tue, 22 Jul 2025 17:00:16 +0200 Subject: [PATCH 2/2] fix(srv): update --- tutorials/power-on-off-instances-jobs/index.mdx | 2 +- tutorials/snapshot-instances-jobs/index.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/power-on-off-instances-jobs/index.mdx b/tutorials/power-on-off-instances-jobs/index.mdx index d788cdb23a..7c2113c255 100644 --- a/tutorials/power-on-off-instances-jobs/index.mdx +++ b/tutorials/power-on-off-instances-jobs/index.mdx @@ -49,7 +49,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n - `SCW_DEFAULT_ZONE`: the desired availability zone. - We recommend using [Secret Manager] to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. + We recommend using [Secret Manager](/secret-manager/) to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. For more details about variables used by `cli`, refer to the [CLI config documentation](https://cli.scaleway.com/instance/#power-on-server). diff --git a/tutorials/snapshot-instances-jobs/index.mdx b/tutorials/snapshot-instances-jobs/index.mdx index 93a29e83bc..210f6d04b3 100644 --- a/tutorials/snapshot-instances-jobs/index.mdx +++ b/tutorials/snapshot-instances-jobs/index.mdx @@ -46,7 +46,7 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n - `SCW_DEFAULT_ZONE`: the desired availability zone. - We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. + We recommend using [Secret Manager](/secret-manager/) to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`. For more details about variables used by `cli`, refer to the [CLI config documentation](https://github.com/scaleway/scaleway-cli/blob/master/docs/commands/config.md).