1. Packages
  2. Gandi
  3. Installation & Configuration
Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse

Gandi: Installation & Configuration

gandi logo
Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse

    Installation

    1. To use this package, please install the Pulumi CLI first.
    2. This package is only available for JavaScript and TypeScript but support for other languages will be available soon.

    Node.js (JavaScript/TypeScript)

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

    $ npm install @pulumiverse/gandi
    $ yarn add @pulumiverse/gandi
    

    Python

    $ pip install pulumiverse_gandi
    

    Go & .NET

    TBA

    Authentication

    The Pulumi Gandi Provider needs to be configured with a Gandi key.

    Once you generated the key there are two ways to communicate your authorization tokens to Pulumi:

    1. Set the environment variables GANDI_KEY

      $ export GANDI_KEY=xxx
      
    2. Set them using pulumi config command, if you prefer that they be stored alongside your Pulumi stack for easy multi-user access:

      $ pulumi config set gandi:key xxx --secret
      

    Remember to pass --secret when setting gandi:key so it is properly encrypted.

    gandi logo
    Gandi v0.0.14 published on Saturday, Dec 17, 2022 by Pulumiverse