You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
HCL examples in the Pulumi Registry docs use a pulumi {} block that Pulumi HCL no longer accepts #363
The HCL examples in this provider's Pulumi Registry docs open with a pulumi { required_providers { ... } } block. The current Pulumi HCL language plugin rejects that block:
main.tf:1,1-7: Unsupported block type; Blocks of type "pulumi" are not expected here.
The same programs run once the block is renamed to terraform { required_providers { ... } }.
Cause: pulumi-terraform-bridge generated the HCL examples with the wrong block name. pulumi/pulumi-terraform-bridge#3644 fixed this in v3.141.0. This provider is on v3.139.0.
To fix:
Upgrade the bridge to v3.141.0 or later:
cd provider
go get github.com/pulumi/pulumi-terraform-bridge/v3@latest
go mod tidy
Regenerate the schema with make tfgen, then the SDKs with make generate (or make build_sdks, depending on your Makefile).
Check that no broken examples remain. This should print 0:
Commit the regenerated schema.json and SDKs, then cut a release. The Pulumi Registry reads schema.json from the release tag and picks up new community package versions automatically.
Activity
ctreatma commentedon Nov 6, 2026
Thanks for the notification! The bridge was updated in #364 and released in v0.34.0.