1. Registry
  2. Packages
  3. Defang Providers
  4. Installation & Configuration
Viewing docs for defang-scaleway v2.12.2
published on Tuesday, Nov 17, 2026 by Defang

Defang Providers: Installation & Configuration

defang-scaleway logo defang-scaleway
Viewing docs for defang-scaleway v2.12.2
published on Tuesday, Nov 17, 2026 by Defang

    Installation

    The Pulumi Provider for Defang — Take your app from Docker Compose to a secure and scalable cloud deployment with Pulumi.

    The Defang Pulumi Provider is available as separate packages per cloud (AWS, GCP, Azure, Scaleway) in most Pulumi languages.

    CloudJavaScript/TypeScriptPythonGo.NET
    AWS@defang-io/pulumi-defang-awspulumi-defang-awsgithub.com/DefangLabs/pulumi-defang/sdk/v2/go/defang-awsDefangLabs.DefangAws
    GCP@defang-io/pulumi-defang-gcppulumi-defang-gcpgithub.com/DefangLabs/pulumi-defang/sdk/v2/go/defang-gcpDefangLabs.DefangGcp
    Azure@defang-io/pulumi-defang-azurepulumi-defang-azuregithub.com/DefangLabs/pulumi-defang/sdk/v2/go/defang-azureDefangLabs.DefangAzure
    Scaleway@defang-io/pulumi-defang-scalewaypulumi-defang-scalewaygithub.com/DefangLabs/pulumi-defang/sdk/v2/go/defang-scalewayDefangLabs.DefangScaleway

    Installing the Pulumi Plugins directly

    pulumi plugin install resource defang-aws --server github://api.github.com/DefangLabs/pulumi-defang
    pulumi plugin install resource defang-gcp --server github://api.github.com/DefangLabs/pulumi-defang
    pulumi plugin install resource defang-azure --server github://api.github.com/DefangLabs/pulumi-defang
    pulumi plugin install resource defang-scaleway --server github://api.github.com/DefangLabs/pulumi-defang
    

    Authentication

    Authenticating with Defang

    Sign up for Defang with your Github account.

    Authenticating in Github Actions workflows

    When run in a Github Actions workflow, the Defang Pulumi Provider will automatically use environment variables Github provides to authenticate your Github user with Defang if you give your workflow the appropriate permissions. Defang use the ACTIONS_ID_TOKEN_REQUEST_URL and ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variables.

    Authenticating with defang token

    You can run defang token --expires 30d out of band with a reasonable duration and you can store the result in DEFANG_ACCESS_TOKEN.

    Authenticating with your cloud provider

    You will also need to authenticate with your cloud provider.

    • For AWS, there are many ways to authenticate
    • For Google Cloud, you may wish to use the google-github-actions/auth Github Action
    • For Scaleway, set SCW_ACCESS_KEY, SCW_SECRET_KEY, SCW_ORGANIZATION_ID, and SCW_DEFAULT_PROJECT_ID.

    Scaleway container health checks

    Scaleway uses the HTTP path from the Compose health-check command, with the configured interval, timeout, and retries. A positive start_period adds a startup probe before liveness checks. Its failure budget covers the startup period, rounded up to whole check intervals, plus the normal retry window. A successful startup check enables liveness checks immediately. Arbitrary health-check commands are not executed inside the container.

    Using Pulumi Cloud

    Defang runs the Pulumi CLI in your cloud account. You can use Pulumi Cloud to manage the Pulumi resources which Defang creates by setting the following environment variables:

    • DEFANG_PULUMI_BACKEND=pulumi-cloud
    • PULUMI_ACCESS_TOKEN

    Reference

    For detailed reference documentation, please visit the Pulumi registry: defang-aws, defang-gcp, defang-azure.

    defang-scaleway logo defang-scaleway
    Viewing docs for defang-scaleway v2.12.2
    published on Tuesday, Nov 17, 2026 by Defang

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial