provider block pins exact provider npm package versions in the generated package.json, enabling reproducible deploys.
Syntax
version is supported in v1.
Example
Version Constraint Translation
| ubx syntax | npm equivalent | Meaning |
|---|---|---|
~> 6.0 | ^6.0.0 | Compatible with 6.x |
= 4.2.0 | 4.2.0 | Exact pin |
>= 5.0.0 | >=5.0.0 | Minimum version |
Supported Providers
| ubx name | npm package |
|---|---|
aws | @pulumi/aws |
gcp | @pulumi/gcp |
azure | @pulumi/azure-native |
kubernetes | @pulumi/kubernetes |
random | @pulumi/random |
tls | @pulumi/tls |
No TypeScript Emitted
Provider blocks only affectpackage.json — no TypeScript is emitted for them.
