The Scaleway Resource Provider lets you manage Scaleway resources.
This package is available for several languages/platforms:
To use from JavaScript or TypeScript in Node.js, install using either npm
:
npm install @ediri/scaleway
or yarn
:
yarn add @ediri/scaleway
To use from Python, install using pip
:
pip install ediri-scaleway
To use from Go, use go get
to grab the latest version of the library:
go get github.com/dirien/pulumi-scaleway/sdk/v2
To use from .NET, install using dotnet add package
:
dotnet add package ediri.Scaleway
Replace the version string with your desired version.
To provision resources with the Pulumi Scaleway provider, you need to have Scaleway credentials. Scaleway maintains documentation on how to create API keys here
Once you have provisioned these credentials, you can set environment variables to provision resources in Scaleway:
export SCW_ACCESS_KEY=<SCW_ACCESS_KEY>
export SCW_SECRET_KEY=<SCW_SECRET_KEY>
$env:SCW_ACCESS_KEY = "<SCW_ACCESS_KEY>"
$env:SCW_SECRET_KEY = "<SCW_SECRET_KEY>"
Use pulumi config set scaleway:<option>
to set the following configuration options.
Option | Environment Variables | Required/Optional | Description |
---|---|---|---|
access_key |
SCW_ACCESS_KEY |
Required | Scaleway access key |
secret_key |
SCW_SECRET_KEY |
Required | Scaleway secret key |
project_id |
SCW_DEFAULT_PROJECT_ID |
Required | The project ID that will be used as default value for all resources. |
organization_id |
SCW_DEFAULT_ORGANIZATION_ID |
Optional | The organization ID that will be used as default value for all resources. |
region |
SCW_DEFAULT_REGION |
Optional | The region that will be used as default value for all resources. (fr-par if none specified) |
zone |
SCW_DEFAULT_ZONE |
Optional | The zone that will be used as default value for all resources. (fr-par-1 if none specified) |