1. Packages
  2. Checkly
  3. Installation & Configuration
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

Checkly: Installation & Configuration

checkly logo
Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly

    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 @checkly/pulumi
    $ yarn add @checkly/pulumi
    

    Python, Go & .NET

    TBA

    Authentication

    The Pulumi Checkly Provider needs to be configured with a Checkly API Key and Account ID before it can be used to create resources.

    If you don’t have an API Key, you can create one here.

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

    1. Set the environment variables CHECKLY_API_KEY and CHECKLY_ACCOUNT_ID:

      $ export CHECKLY_API_KEY=cu_xxx
      $ export CHECKLY_ACCOUNT_ID=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 checkly:apiKey cu_xxx --secret
      $ pulumi config set checkly:accountId xxx
      

    Remember to pass --secret when setting checkly:apiKey so it is properly encrypted.

    checkly logo
    Checkly v1.1.4 published on Thursday, Mar 9, 2023 by checkly