Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi
Pulumi Cloud (Pulumi Service provider)
I want to use the Pulumi Pulumi Cloud package (pulumiservice) in my project.
## Provider details
- Package: pulumiservice
- Version: v1.5.0
- Publisher: Pulumi
- Source: pulumi
- Repository: https://github.com/pulumi/pulumi-pulumiservice
## Documentation
The Pulumi Cloud Registry API serves canonical, up-to-date docs for this package — including private packages and every published version. Send the "Accept: text/markdown" header for clean readable content, or "application/json" for structured data.
Start at the navigation tree, which cross-links to the readme, installation guide, and per-resource docs URL template:
- https://api.pulumi.com/api/registry/packages/pulumi/pulumi/pulumiservice/versions/latest/nav
Returns a summary by default. The full tree can be hundreds of kB for large providers, so prefer targeted search: append "?q=<query>&depth=full" to filter by resource/function title or token (for example "?q=bucket&depth=full"). Only request the full nav without a query if you actually need to enumerate every resource.
Other endpoints:
- Overview and getting started: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/pulumiservice/versions/latest/readme
- Installation and configuration: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/pulumiservice/versions/latest/installation
- Per-resource/function docs: https://api.pulumi.com/api/registry/packages/pulumi/pulumi/pulumiservice/versions/latest/docs/{token}?lang={lang}
Replace {token} with the percent-encoded token from the nav response (for example aws:s3/bucket:Bucket).
Replace {lang} with typescript, python, go, csharp, java, yaml, or hcl.
Fetch the installation endpoint above for the correct setup steps — install instructions vary between native providers, bridged Terraform providers, and component packages.
Help me get started using this provider. Show me a complete Pulumi program that provisions a common resource, including all necessary configuration and imports.
Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi
The Pulumi Service provider for Pulumi can be used to provision resources available in Pulumi Cloud.
Resource namespaces
The provider has two sets of resources:
pulumiservice:index:*(for example,pulumiservice.Webhook) are designed and maintained by hand.pulumiservice:api:*(for example,pulumiservice.api.OrganizationWebhook) are generated from the Pulumi Cloud REST API specification and cover more of the API.
The api namespace is in preview. Its resource shapes and module layout may change before general availability.
Installation
npm install @pulumi/pulumiservice
pip install pulumi-pulumiservice
go get github.com/pulumi/pulumi-pulumiservice/sdk/go/pulumiservice
dotnet add package Pulumi.PulumiService
Maven:
<dependency>
<groupId>com.pulumi</groupId>
<artifactId>pulumiservice</artifactId>
<version>1.5.0</version>
</dependency>
Gradle:
implementation 'com.pulumi:pulumiservice:1.5.0'
pulumi package add pulumiservice
Declare the provider in your program, then run pulumi install:
terraform {
required_providers {
pulumiservice = {
source = "pulumi/pulumiservice"
version = "1.5.0"
}
}
}
pulumi install
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as pulumiservice from "@pulumi/pulumiservice";
const webhook = new pulumiservice.Webhook("example-webhook", {
active: true,
displayName: "webhook example",
organizationName: "example",
payloadUrl: "https://example.com/webhook",
});
import pulumi
import pulumi_pulumiservice
webhook = pulumi_pulumiservice.Webhook("example-webhook",
active=True,
display_name="webhook example",
organization_name="example",
payload_url="https://example.com/webhook",
)
import (
"fmt"
"github.com/pulumi/pulumi-pulumiservice/sdk/go/pulumiservice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
webhook, err := pulumiservice.NewWebhook(ctx, "example-webhook", &pulumiservice.WebhookArgs{
Active: pulumi.Bool(true),
DisplayName: pulumi.String("webhook example"),
OrganizationName: pulumi.String("example"),
PayloadURL: pulumi.String("https://example.com/webhook"),
}, nil)
if err != nil {
return fmt.Errorf("error creating webhook: %v", err)
}
return nil
})
}
using Pulumi;
using Pulumi.PulumiService;
class PulumiServiceWebhook: Stack
{
public PulumiServiceWebhook()
{
var webhook = new Webhook("example-webhook", new WebhookArgs{
Active = true,
DisplayName = "webhook example",
OrganizationName = "example",
PayloadUrl = "https://example.com/webhook"
});
}
}
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.pulumiservice.Webhook;
import com.pulumi.pulumiservice.WebhookArgs;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
private static void stack(Context ctx) {
var webhook = new Webhook("example-webhook", WebhookArgs.builder()
.active(true)
.displayName("webhook example")
.organizationName("example")
.payloadUrl("https://example.com/webhook")
.build());
}
}
resources:
webhook:
type: pulumiservice:index:Webhook
properties:
active: true
displayName: webhook example
organizationName: example
payloadUrl: https://example.com/webhook
terraform {
required_providers {
pulumiservice = {
source = "pulumi/pulumiservice"
}
}
}
resource "pulumiservice_webhook" "webhook" {
active = true
display_name = "webhook example"
organization_name = "example"
payload_url = "https://example.com/webhook"
}
Configuration
To provision resources with the Pulumi Service provider, you need Pulumi Cloud credentials. The provider looks for an access token in this order:
- The
pulumiservice:accessTokenconfiguration option. - The
PULUMI_ACCESS_TOKENenvironment variable. - The account you’re logged in to with
pulumi login.
If you’ve already run pulumi login, you don’t need to configure anything else.
The provider gets your login’s API URL from the Pulumi CLI, which passes it to providers starting with CLI v3.247.0. If you’re logged in to a self-hosted Pulumi Cloud with an older CLI, the provider calls
https://api.pulumi.com instead, so also set PULUMI_BACKEND_URL or the apiUrl option, or upgrade the CLI.Use pulumi config set pulumiservice:<option> or pass options to the provider constructor.
| Name | Required | Secret | Description |
|---|---|---|---|
accessToken | No | Yes | Pulumi Cloud access token. Defaults to PULUMI_ACCESS_TOKEN, then to your pulumi login credentials. |
apiUrl | No | No | Overrides the default Pulumi Cloud API URL for self-hosted customers. Defaults to PULUMI_BACKEND_URL, then PULUMI_API, then https://api.pulumi.com. |
Example
# Not needed if you've run `pulumi login` or set PULUMI_ACCESS_TOKEN.
pulumi config set --secret pulumiservice:accessToken <PULUMI_ACCESS_TOKEN>
# Only needed for a self-hosted Pulumi Cloud, and only if you haven't set
# PULUMI_BACKEND_URL or logged in to it with Pulumi CLI v3.247.0 or later.
pulumi config set pulumiservice:apiUrl <PULUMI_API_URL>
Viewing docs for Pulumi Cloud v1.5.0
published on Monday, Oct 19, 2026 by Pulumi
published on Monday, Oct 19, 2026 by Pulumi