Skip to main content

A Pulumi package for creating and managing Scaleway resources.

Project description

Scaleway Resource Provider

The Scaleway Resource Provider lets you manage Scaleway resources.

Installing

This package is available for several languages/platforms:

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @ediri/scaleway

or yarn:

yarn add @ediri/scaleway

Python

To use from Python, install using pip:

pip install ediri-scaleway

Go

To use from Go, use go get to grab the latest version of the library:

go get github.com/dirien/pulumi-scaleway/sdk/v2

.NET

To use from .NET, install using dotnet add package:

dotnet add package ediri.Scaleway

Replace the version string with your desired version.

Setup

To provision resources with the Pulumi Scaleway provider, you need to have Scaleway credentials. Scaleway maintains documentation on how to create API keys here

Set environment variables

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>"

Configuration Options

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ediri_scaleway-2.31.0.tar.gz (346.4 kB view details)

Uploaded Source

File details

Details for the file ediri_scaleway-2.31.0.tar.gz.

File metadata

  • Download URL: ediri_scaleway-2.31.0.tar.gz
  • Upload date:
  • Size: 346.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for ediri_scaleway-2.31.0.tar.gz
Algorithm Hash digest
SHA256 2f0b0a3af637650f5ecfc655ba806354f83b853bc2af97e2c0a3bf24d4c95a44
MD5 651266c78e2269f0613618798fdd8e5f
BLAKE2b-256 67c51fd4ff07a9afe41910c36fda25e5f1d4836e8e975bb9dec58ee3dc3787b0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page