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.

Status: prerelease

Only prerelease versions are published so far. There is no stable v3.0.0 yet, and no tagged release, because the upstream module path problem described below has to be fixed first.

Pin an exact version. Prereleases are published under npm's dev tag, but npm assigned latest to the first version ever published, which is itself a prerelease, so a bare npm install @pulumiverse/unleash resolves to a prerelease and not necessarily the newest one. npm install @pulumiverse/unleash@dev gets the newest.

Installation

npm install @pulumiverse/unleash@3.0.0-alpha.1786027366
pip install pulumiverse-unleash==3.0.0a1786027366
dotnet add package Pulumiverse.Unleash --version 3.0.0-alpha.1786027366

The Go SDK is not published yet. It needs an sdk/v3.0.0 tag, which is held for the same reason as the stable release. Use one of the other three languages, or build from source.

The plugin binary is not released yet

Installing the SDK is not enough to run pulumi up. The schema points PluginDownloadURL at this repository's GitHub releases, and there are none yet, so the plugin cannot be downloaded. Until the first release, build the provider (see Building from source for the prerequisites) and install the plugin from disk:

make provider
pulumi plugin install resource unleash 3.0.0-alpha.1786027366 --file bin/pulumi-resource-unleash

The provider is also not in the Pulumi Registry.

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.

A note on the upstream Go module path

github.com/Unleash/terraform-provider-unleash declares no /v3 module path suffix despite tagging v3.x releases, so Go cannot resolve any of its v2 or v3 tags as a dependency — the module proxy's @latest for that path resolves to v1.4.1. This provider therefore pins the upstream at a pseudo-version rather than a release tag. Adding the suffix upstream would make this a normal semver dependency.

License

Apache-2.0 — see LICENSE.

Download files

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

Source Distribution

pulumiverse_unleash-3.0.0.tar.gz (34.3 kB view details)

Uploaded Source

Built Distribution

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

pulumiverse_unleash-3.0.0-py3-none-any.whl (59.7 kB view details)

Uploaded Python 3

File details

Details for the file pulumiverse_unleash-3.0.0.tar.gz.

File metadata

  • Download URL: pulumiverse_unleash-3.0.0.tar.gz
  • Upload date:
  • Size: 34.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.8

File hashes

Hashes for pulumiverse_unleash-3.0.0.tar.gz
Algorithm Hash digest
SHA256 e36531d20e77b7ed3af4575455bc197f02a6c1a191083b388ef2632547121ec4
MD5 77cb9fb05ad4808208034f95fab7a845
BLAKE2b-256 2fabaa714749e0675bd55d3828256756f98f73effdd89bdbbe2f0907020883a8

See more details on using hashes here.

File details

Details for the file pulumiverse_unleash-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumiverse_unleash-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8dc0157117b83caa184837112de647223461ebfafc893a92a812bfaea058dd3b
MD5 c699ac44922267c221ef1fdee5a6cf23
BLAKE2b-256 f92c38ec3c33dfb73e7fb03e573c6756bf838a63e96ddb01b159cf9c5ea93646

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 Sentry Error logging StatusPage Status page