Skip to content

Commit 0b6b663

Browse files
committed
fix(srv): add missing env var for jobs x cli tuto MTA-6306
1 parent 68fbdcf commit 0b6b663

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

tutorials/power-on-off-instances-jobs/index.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,11 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
4545
- `SCW_SECRET_KEY`: your API secret key.
4646
- `SCW_DEFAULT_PROJECT_ID`: your Project ID.
4747
- `SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID.
48-
- `SCW_DEFAULT_REGION`: the preferred region.
48+
- `SCW_DEFAULT_REGION`: the desired region.
49+
- `SCW_DEFAULT_ZONE`: the desired availability zone.
4950

5051
<Message type="note">
51-
We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`.
52+
We recommend using [Secret Manager] to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`.
5253
</Message>
5354

5455
For more details about variables used by `cli`, refer to the [CLI config documentation](https://cli.scaleway.com/instance/#power-on-server).

tutorials/snapshot-instances-jobs/index.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ Serverless Jobs are perfectly adapted for these autonomous tasks, as we do not n
4242
- `SCW_SECRET_KEY`: your API secret key.
4343
- `SCW_DEFAULT_PROJECT_ID`: your Project ID.
4444
- `SCW_DEFAULT_ORGANIZATION_ID`: your Organization ID.
45-
- `SCW_DEFAULT_REGION`: concerned region.
45+
- `SCW_DEFAULT_REGION`: the desired region.
46+
- `SCW_DEFAULT_ZONE`: the desired availability zone.
4647

4748
<Message type="note">
4849
We recommend using Secret Manager to store the `SCW_ACCESS_KEY` and `SCW_SECRET_KEY`.

0 commit comments

Comments
 (0)