diff --git a/developer-tools/scaleway-cli/quickstart.mdx b/developer-tools/scaleway-cli/quickstart.mdx index f18ccd3598..0606826bdb 100644 --- a/developer-tools/scaleway-cli/quickstart.mdx +++ b/developer-tools/scaleway-cli/quickstart.mdx @@ -7,7 +7,7 @@ content: paragraph: This page explains how to install and configure the Scaleway CLI locally tags: devtools cli download-cli scaleway-cli command-line dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2021-09-21 categories: - devtools diff --git a/developer-tools/scaleway-cli/reference-content/environment-variables.mdx b/developer-tools/scaleway-cli/reference-content/environment-variables.mdx index db63ce5b71..91375923ca 100644 --- a/developer-tools/scaleway-cli/reference-content/environment-variables.mdx +++ b/developer-tools/scaleway-cli/reference-content/environment-variables.mdx @@ -7,24 +7,10 @@ content: paragraph: This page contains a list of standardized environment variables used throughout the Scaleway developer tools. tags: devtools cli api variables dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2023-05-15 categories: - devtools --- -# Reserved environment variables - - -## Environment variables priority - -When the same environment variable is injected by multiple sources, the Scaleway infrastructure follows a precedence rule to determine the value for that variable. - -The order of precedence, from highest to lowest is the following. - -1. Environment variables defined in your command-line environment. - -2. Static variables (i.e. variables set in a Terraform configuration file). - -3. Variables defined in the [Scaleway configuration file](/developer-tools/scaleway-cli/reference-content/scaleway-configuration-file/) \ No newline at end of file diff --git a/developer-tools/scaleway-sdk/reference-content/environment-variables.mdx b/developer-tools/scaleway-sdk/reference-content/environment-variables.mdx index a972b7681a..1d0b768189 100644 --- a/developer-tools/scaleway-sdk/reference-content/environment-variables.mdx +++ b/developer-tools/scaleway-sdk/reference-content/environment-variables.mdx @@ -7,24 +7,10 @@ content: paragraph: This page contains a list of standardized environment variables used throughout the Scaleway developer tools. tags: devtools cli api variables dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2023-05-15 categories: - devtools --- -## Reserved environment variables - - -## Environment variables priority - -When the same environment variable is injected by multiple sources, the Scaleway infrastructure follows a precedence rule to determine the value for that variable. - -The order of precedence, from highest to lowest is the following. - -1. Environment variables defined in your command-line environment. - -2. Static variables (i.e. variables set in a Terraform configuration file). - -3. Variables defined in the [Scaleway configuration file](/developer-tools/scaleway-sdk/reference-content/scaleway-configuration-file/) diff --git a/developer-tools/terraform/reference-content/environment-variables.mdx b/developer-tools/terraform/reference-content/environment-variables.mdx index 1d82e5d8ac..7fb84d2ef6 100644 --- a/developer-tools/terraform/reference-content/environment-variables.mdx +++ b/developer-tools/terraform/reference-content/environment-variables.mdx @@ -7,24 +7,10 @@ content: paragraph: This page contains a list of standardized environment variables used throughout the Scaleway developer tools. tags: devtools cli api variables terraform dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2023-05-24 categories: - devtools --- -## Reserved environment variables - - -## Environment variables priority - -When the same environment variable is injected by multiple sources, the Scaleway infrastructure follows a precedence rule to determine the value for that variable. - -The order of precedence, from highest to lowest is the following. - -1. Environment variables defined in your command-line environment. - -2. Static variables (i.e. variables set in a Terraform configuration file). - -3. Variables defined in the [Scaleway configuration file](/developer-tools/terraform/reference-content/scaleway-configuration-file/) diff --git a/faq/serverless-sql-databases.mdx b/faq/serverless-sql-databases.mdx index 00b3e72313..cf509bf1e7 100644 --- a/faq/serverless-sql-databases.mdx +++ b/faq/serverless-sql-databases.mdx @@ -6,7 +6,7 @@ content: h1: Serverless SQL Databases hero: assets/serverless-sql-database.webp dates: - validation: 2024-03-25 + validation: 2024-10-10 category: serverless --- diff --git a/macros/developer-tools/scaleway-environment-variables.mdx b/macros/developer-tools/scaleway-environment-variables.mdx index b2bed2314c..13718f55cc 100644 --- a/macros/developer-tools/scaleway-environment-variables.mdx +++ b/macros/developer-tools/scaleway-environment-variables.mdx @@ -2,6 +2,8 @@ macro: scaleway-environment-variables --- +# Reserved environment variables + The following standardized Scaleway environment variables are used for the CLI and API. | Variable | Description | Legacy variables | @@ -15,3 +17,15 @@ The following standardized Scaleway environment variables are used for the CLI a | `$SCW_PROFILE` | Set the configuration profile to use | - | | `$SCW_PROJECT_ID` | Your [Project ID](https://console.scaleway.com/project/settings) | `$SCW_DEFAULT_PROJECT_ID` | | `$SCW_ORGANIZATION_ID` | Your [Organization ID](https://console.scaleway.com/organization/settings) | `$SCW_DEFAULT_ORGANIZATION_ID`, `$SCW_ORGANIZATION` (used by the CLI),`$SCALEWAY_ORGANIZATION` (used by Terraform) | + +## Environment variables priority + +When the same environment variable is injected by multiple sources, the Scaleway infrastructure follows a precedence rule to determine the value for that variable. + +The order of precedence, from highest to lowest is the following. + +1. Environment variables defined in your command-line environment. + +2. Static variables (i.e. variables set in a Terraform configuration file). + +3. Variables defined in the [Scaleway configuration file](/developer-tools/scaleway-sdk/reference-content/scaleway-configuration-file/) \ No newline at end of file diff --git a/serverless/functions/how-to/test-a-function.mdx b/serverless/functions/how-to/test-a-function.mdx index 0095c7234b..66987120a5 100644 --- a/serverless/functions/how-to/test-a-function.mdx +++ b/serverless/functions/how-to/test-a-function.mdx @@ -7,7 +7,7 @@ content: paragraph: Instructions for testing your Serverless Functions on Scaleway. tags: function serverless test-function dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2023-09-25 categories: - serverless diff --git a/serverless/functions/reference-content/deploy-function.mdx b/serverless/functions/reference-content/deploy-function.mdx index ca45c81281..56da304c36 100644 --- a/serverless/functions/reference-content/deploy-function.mdx +++ b/serverless/functions/reference-content/deploy-function.mdx @@ -6,7 +6,7 @@ content: h1: Methods to deploy Serverless Functions paragraph: Step-by-step guide to deploying Serverless Functions on Scaleway. dates: - validation: 2024-04-03 + validation: 2024-10-10 posted: 2023-03-10 ---