Skip to main content

A native Pulumi package for creating and managing Pulumi Cloud constructs

Project description

Pulumi Service Provider

Slack NPM version Python version NuGet version PkgGoDev License

A Pulumi Resource Provider for The Pulumi Service.

The Pulumi Service Provider is built on top of the Pulumi Service REST API which is another feature available to our customers to programmatically configuring the Pulumi Service. The Pulumi Service REST API includes functionality to interact with and manipulate any kind of metadata managed by Pulumi. That includes Projects and Stacks, Previews and Updates, Organizations and Audit Logs. We have already seen Cloud Engineering teams using the Pulumi REST API to build all sorts of custom functionality. These new capabilities are especially powerful when used in combination with the Automation API.

Supported Resources

For reference documentation, visit the Pulumi Service API Documentation on the Pulumi Registry

Installing

This package is available in many languages in the standard packaging formats.

Node.js (Java/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

$ npm install @pulumi/pulumiservice

or yarn:

$ yarn add @pulumi/pulumiservice

Python

To use from Python, install using pip:

$ pip install pulumi_pulumiservice

Go

To use from Go, use go get to grab the latest version of the library

$ go get github.com/pulumi/pulumi-pulumiservice/sdk/go

.NET

To use from .NET, install using dotnet add package:

$ dotnet add package Pulumi.PulumiService

Setup

Ensure that you have ran pulumi login. Run pulumi whoami to verify that you are logged in.

Configuration Options

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

Option Environment Variable Name Required/Optional Description
accessToken PULUMI_ACCESS_TOKEN Optional Overrides Pulumi Service Access Tokens
apiUrl PULUMI_BACKEND_URL Optional Allows overriding default Pulumi Service API URL for self hosted customers.

Examples

import * as aws from "@pulumi/awsx"
import * as pulumi from "@pulumi/pulumi";
import * as service from "@pulumi/pulumiservice";

const team = new service.Team("team", {
    name: "pulumi-service-team",
    displayName: "Pulumi Service",
    description: "The Pulumi Service Team",
    organizationName: "pulumi",
    teamType: "pulumi",
    members: [
        "piers",
        "bryce",
        "casey"
        "evan",
        "devon",
        "meagan"
        "myles",
        "steve"
    ],
});

export const members = team.members;

Check out the examples/ directory for more examples.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_pulumiservice-0.28.0a1733869342.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pulumi_pulumiservice-0.28.0a1733869342.tar.gz.

File metadata

File hashes

Hashes for pulumi_pulumiservice-0.28.0a1733869342.tar.gz
Algorithm Hash digest
SHA256 9417698a249f97be0a1e06c326438b44dc2332776267be952bc13a7d187cc9aa
MD5 5b64072678aaa3df3cc4ebd142d8a047
BLAKE2b-256 8a081fdc6aa9ee3df63e5c074add0483390433e7497a3032e6e4149c0319aa5c

See more details on using hashes here.

File details

Details for the file pulumi_pulumiservice-0.28.0a1733869342-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_pulumiservice-0.28.0a1733869342-py3-none-any.whl
Algorithm Hash digest
SHA256 18d729f9df4ed1d931b72ceb38690293a74bd48e6c095c825c22ed8f16bfdd42
MD5 984c2034a5d906481a3496ff75fed923
BLAKE2b-256 6e03efe8041f3a1b4a9301668e6a25ce4608e05e788045cbdb425a1b3cbc7e28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page