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

Pulumi Service Provider for creating Pulumi Cloud resources.

The Pulumi Service Provider (PSP) is built on top of the Pulumi Cloud REST API, allowing Pulumi customers to create Pulumi Cloud resources using Pulumi programs. That includes Stacks, Environments, Teams, Tokens, Webhooks, Tags, Deployment Settings, Deployment Schedules and much more! Pulumi Service Provider is especially powerful when used in combination with the Automation API.

For a full list of supported resources, visit the Pulumi Registry. For the REST API reference documentation, visit Pulumi Cloud API Documentation.

For now, PSP is in public preview, but we're working on releasing v1.0 in the near future.

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

Java

To use from Java, add an entry to your build.gradle file:

$ implementation 'com.pulumi:pulumiservice:%Fill in latest version from the badge up top%'

Or to your pom.xml file:

$   <dependency>
$       <groupId>com.pulumi</groupId>
$       <artifactId>pulumiservice</artifactId>
$       <version>%Fill in latest version from the badge up top%</version>
$   </dependency>

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][1].

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

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.30.0a1739554721.tar.gz (36.9 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.30.0a1739554721.tar.gz.

File metadata

File hashes

Hashes for pulumi_pulumiservice-0.30.0a1739554721.tar.gz
Algorithm Hash digest
SHA256 9c1e55503c156ce59cfe67e70d22a4a1d5a6d0ac69fa1c2e5ddb60a576cd0e73
MD5 e1ad258cde9a9475b6e9e092f6022fbb
BLAKE2b-256 1580b051caead5a816b353e009427282f73d2ddb0baf0a158d546427e6273993

See more details on using hashes here.

File details

Details for the file pulumi_pulumiservice-0.30.0a1739554721-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_pulumiservice-0.30.0a1739554721-py3-none-any.whl
Algorithm Hash digest
SHA256 f96f377aec181339545d592acdf756d4701c5f28dc92cc7342fb4c8c00300ef6
MD5 d69e0cec4ac7c3df5af662e6491f20cf
BLAKE2b-256 3caea62fde67a7c7108d1da3cfd836b9abfb4de3a8eed68810cacdd9fbb35926

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