Pulumi Service

Pulumi Official
Package maintained by Pulumi
v0.1.3 published on Thursday, May 26, 2022 by Pulumi

Installation

The Pulumi Service provider is available as a package in all Pulumi languages:

Setup

To provision resources with the Pulumi Service provider, you need to have Pulumi Service credentials. Pulumi Service maintains documentation on how to create access tokens here.

Set environment variables

Once you have an access token, its easy to set the environment variables. The Pulumi Service Provider uses the same environment variables as Pulumi does.

$ export PULUMI_ACCESS_TOKEN=<PULUMI_ACCESS_TOKEN>
# For self hosted customers. defaults to https://api.pulumi.com
$ export PULUMI_BACKEND_URL=<PULUMI_BACKEND_URL>
$ export PULUMI_ACCESS_TOKEN=<PULUMI_ACCESS_TOKEN>
# For self hosted customers. defaults to https://api.pulumi.com
$ export PULUMI_BACKEND_URL=<PULUMI_BACKEND_URL>
> $env:PULUMI_ACCESS_TOKEN = "<PULUMI_ACCESS_TOKEN>"
# For self hosted customers. defaults to https://api.pulumi.com
> $env:PULUMI_BACKEND_URL = "<PULUMI_BACKEND_URL>"

Configuration Options

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

OptionRequired/OptionalDescription
accessTokenRequiredPulumi Service Access Tokens
apiUrlOptionalAllows overriding default Pulumi Service API URL for self hosted customers.