Rootly v1.5.0 published on Thursday, Apr 25, 2024 by Rootly
Rootly: Installation & Configuration
Installation
- To use this package, please install the Pulumi CLI first.
- 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
:npm install @rootly/pulumi
or
yarn
:yarn add @rootly/pulumi
Install the provider binary plugin. This is only needed due to an outstanding bug in with Pulumi registry
pulumi plugin install resource rootly v0.0.2 --server https://github.com/rootlyhq/pulumi-rootly/releases/download/v0.0.2
Authentication
The Pulumi Rootly Provider needs to be configured with a Rootly API token.
Once you generated the API token there are two ways to communicate your authorization token to Pulumi:
Set the environment variables
ROOTLY_API_TOKEN
:$ export ROOTLY_API_TOKEN=cu_xxx
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 rootly:apiToken cu_xxx --secret
Remember to pass
--secret
when settingrootly:apiToken
so it is properly encrypted.