1. Packages
  2. Scaleway
  3. Installation & Configuration
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

Scaleway: Installation & Configuration

scaleway logo
Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse

    Installation

    The Pulumi Scaleway provider is available as a package in all Pulumi languages:

    Provider Binary

    The Scaleway provider binary is a third party binary. It can be installed using the pulumi plugin command.

    pulumi plugin install resource scaleway <version> --server github://api.github.com/pulumiverse
    

    Replace the version string with your desired version.

    Migrating from the LbrLabs package

    The maintenance of this provider has been transferred from LbrLabs to Pulumiverse. LbrLabs published up to v1.11.0, where Pulumiverse picks up with an initial v1.11.1 containing the renamed packages.

    If you were using the LbrLabs edition, please update your dependencies to the Pulumiverse edition:

    Programming LanguageLbrLabs namePulumiverse name
    JavaScript/TypeScript@lbrlabs/pulumi-scaleway@pulumiverse/scaleway
    Pythonlbrlabs_pulumi_scalewaypulumiverse_scaleway
    Gogithub.com/lbrlabs/pulumi-scaleway/sdk/go/scalewaygithub.com/pulumiverse/pulumi-scaleway/sdk/go/scaleway
    .NETLbrlabs.PulumiPackage.ScalewayPulumiverse.Scaleway

    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>
    
    $ 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> or pass options to the constructor of new scaleway.Provider.

    OptionEnvironment VariablesRequired/OptionalDescription
    access_keySCW_ACCESS_KEYRequiredScaleway access key
    secret_keySCW_SECRET_KEYRequiredScaleway secret key
    project_idSCW_DEFAULT_PROJECT_IDRequiredThe project ID that will be used as default value for all resources.
    regionSCW_DEFAULT_REGIONOptionalThe region that will be used as default value for all resources. (fr-par if none specified)
    zoneSCW_DEFAULT_ZONEOptionalThe zone that will be used as default value for all resources. (fr-par-1 if none specified)
    scaleway logo
    Scaleway v1.20.0 published on Monday, Nov 4, 2024 by pulumiverse