Skip to main content

Unleash Pulumi Provider

A Pulumi provider for Unleash, bridged from the official Unleash/terraform-provider-unleash using the Pulumi Terraform Bridge.

Because it bridges the upstream Terraform provider directly, resources and data sources come from the same schema rather than a parallel reimplementation, so the two stay in lockstep as the upstream provider evolves.

Installation

npm install @pulumiverse/unleash
pip install pulumiverse-unleash
dotnet add package Pulumiverse.Unleash
go get github.com/pulumiverse/pulumi-unleash/sdk/v3

The plugin binary is resolved from this repository's GitHub releases via the PluginDownloadURL baked into the schema, so pulumi up fetches it with no extra configuration.

The provider is not in the Pulumi Registry, so a manual pulumi plugin install needs the server spelled out. Installing the SDK is the normal path and needs none of this:

pulumi plugin install resource unleash 3.0.0 --server github://api.github.com/pulumiverse

Building from source

Prerequisites: Go 1.25+, pulumictl, mise, the Pulumi CLI, Node.js, Yarn, Python 3, and the .NET SDK.

pulumi plugin install converter terraform   # required - schema generation uses pulumiConvert
make tfgen        # generate the Pulumi schema from the upstream Terraform provider
make provider     # build bin/pulumi-resource-unleash
make build_sdks   # generate and build the dotnet, go, nodejs and python SDKs

Configuration

Option Environment variable Notes
baseUrl UNLEASH_URL Everything before /api
authorization UNLEASH_AUTH_TOKEN Admin API token; marked secret
maxConcurrentRequests UNLEASH_MAX_CONCURRENT_REQUESTS Upstream default is 2

The upstream Terraform provider also accepts a bare AUTH_TOKEN as a fallback. This provider deliberately does not, because an unscoped AUTH_TOKEN sitting in a shell or CI environment would silently authenticate against Unleash. Use UNLEASH_AUTH_TOKEN.

Resource coverage and the Enterprise gap

All 13 resources and 8 data sources from the upstream provider are bridged and present in the generated schema.

Automated end-to-end tests cover only what an open-source Unleash server can actually do. Unleash OSS ships a fixed default project plus development/production environments, and its community build registers no write routes for most administrative APIs — creating projects, environments, users, groups, roles or service accounts, and configuring OIDC/SAML all require an Enterprise licence. The upstream provider's own acceptance tests set UNLEASH_LICENSE for this reason.

Resource Live test coverage
ApiToken Real create/destroy against OSS Unleash in CI
Everything else Compile and schema generation only

The ApiToken test (examples/oss-ts, driven by TestOssTs in examples/examples_nodejs_test.go) starts its own Unleash + Postgres containers via testcontainers-go, so it runs identically locally and in CI with no setup step. The root docker-compose.yml is still there as a convenience for running the example by hand (docker compose up + pulumi up) — it is optional and the test does not depend on it.

Contributions widening this are welcome, but note that a licence secret is not available to pull requests from forks, so fork CI cannot exercise Enterprise resources either.

Versioning

The major version tracks the upstream Terraform provider's major version, matching the convention other bridged community providers use. This provider's 3.x line bridges terraform-provider-unleash 3.x.

License

Apache-2.0 — see LICENSE.

Metadata

Release files for pulumiverse-unleash 3.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pulumiverse-unleash 3.0.1
File Size Uploaded
pulumiverse_unleash-3.0.1.tar.gz 33.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pulumiverse-unleash 3.0.1
File Interpreter ABI Platform
pulumiverse_unleash-3.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 92.5 kB

Release files / pulumiverse_unleash-3.0.1.tar.gz

Download URL pulumiverse_unleash-3.0.1.tar.gz
Size 33.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c08ab41f0931486c38f8bcc729bedb1fdb296a2f743aa435f632134ea6c68854
BLAKE2b-256 checksum
How to use checksums
b647f9479f7af53bcf40dd606ac6e7da643fa0eefcc90ddd07329184d947ea17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8

Release files / pulumiverse_unleash-3.0.1-py3-none-any.whl

Download URL pulumiverse_unleash-3.0.1-py3-none-any.whl
Size 59.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
359dc94cd005961d899cc29d9ca1c646913468cc899897a85b4b36d748b64ed4
BLAKE2b-256 checksum
How to use checksums
9c69f67e4800739c3e6b544e3b68d27aad569bc6500a62c4d37511bdf3fda1e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page