- To use this package, please install the Pulumi CLI first.
npm install @rootly/pulumi
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
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
$ export ROOTLY_API_TOKEN=cu_xxx
Set them using
pulumi configcommand, 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
rootly:apiTokenso it is properly encrypted.