1. Packages
  2. Splight
  3. Installation & Configuration
splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform

Splight: Installation & Configuration

splight logo
splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform

    Installation

    The Splight provider is available as a package in following Pulumi languages:

    Provider Binary

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

    pulumi plugin install resource splight <version> --server github://api.github.com/splightplatform
    

    Replace the version string with your desired version.

    Setup

    The following configuration points are available for the Splight provider:

    • splight:hostname - the API endpoint for the Splight platform
    • splight:token - the API token to authenticate with the Splight platform (Splight <access_id> <secret_key>)

    If these are not provided, the provider will fall back to the environment variables:

    • SPLIGHT_ACCESS_ID - the access ID to authenticate with the Splight platform
    • SPLIGHT_SECRET_KEY - the secret key to authenticate with the Splight platform
    • SPLIGHT_PLATFORM_API_HOST - the API endpoint for the Splight platform

    and as a last resort, it will use the active workspace configuration from the Splight CLI.

    Example: Configuring Pulumi using pulumi config set

    pulumi config set splight:hostname https://api.splight-ai.com
    pulumi config set splight:token "Splight <access_id> <secret_key>" --secret
    

    Example: Configuring Pulumi using environment variables

    export SPLIGHT_ACCESS_ID=<access_id>
    export SPLIGHT_SECRET_KEY=<secret_key>
    export SPLIGHT_PLATFORM_API_HOST=https://api.splight-ai.com
    
    splight logo
    splight v0.1.24 published on Friday, Jun 28, 2024 by splightplatform