Buildkite

Community
Package contributed by a community member
v0.2.0 published on Friday, May 27, 2022 by Grapl Security

Installation

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

Setup

To provision resources with the Pulumi Buildkite provider, you need to have Buildkite credentials.

Set environment variables

Once you have provisioned these credentials, you can set environment variables to provision resources in BUILDKITE:

$ export BUILDKITE_API_TOKEN=<BUILDKITE_API_TOKEN>
$ export BUILDKITE_ORGANIZATION=<BUILDKITE_ORGANIZATION>
$ export BUILDKITE_API_TOKEN=<BUILDKITE_API_TOKEN>
$ export BUILDKITE_ORGANIZATION=<BUILDKITE_ORGANIZATION>
> $env:BUILDKITE_API_TOKEN = "<BUILDKITE_API_TOKEN>"
> $env:BUILDKITE_ORGANIZATION = "<BUILDKITE_ORGANIZATION>"

Configuration Options

Use pulumi config set buildkite:<option> or pass options to the constructor of new buildkite.Provider.

OptionRequired/OptionalDescription
api_tokenRequiredA Buildkite API Access Token. Can be configured from the environment variable BUILDKITE_API_TOKEN. Must have GraphQL access, as well as the write_pipelines and read_pipelines scopes.
organizationRequiredThe Buildkite organization slug. Can be configured from the environment variable BUILDKITE_ORGANIZATION.