@rootly/pulumi
v1.2.1
Published
A Pulumi package for creating and managing Rootly cloud resources.
Downloads
17
Readme
Rootly Resource Provider
The Rootly Resource Provider lets you manage Rootly resources.
Installing
This package is available for several languages/platforms:
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
Python, Go, & .NET
TBA
Configuration
The following configuration points are available for the rootly
provider:
rootly:apiToken
(environment:ROOTLY_API_TOKEN
) - the API token forrootly
Creating resources
const rootly = require("@rootly/pulumi")
new rootly.Severity("sev0", {
name: "SEV0",
color: "#FF0000"
})
new rootly.Service("elasticsearch_prod", {
name: "elasticsearch-prod",
color: "#800080"
})
new rootly.Functionality("add_items_to_card", {
name: "Add items to card",
color: "#FFFFFF"
})
Syncing resources
Run the regular pulumi up
command.
Reference
For detailed reference documentation, please visit the Pulumi registry
Development
Run make update_provider
to update the Terraform provider, then make build_nodejs
to build the SDK. Commit and tag to release. Packages are automatically published on new version tags via GitHub Actions.