Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow tfgen to use pulumi convert for examples conversion (#1401)
Fixes #1352 Requires a recent Pulumi version including pulumi/pulumi-converter-terraform#29 A new option is added for tfgen, via the environment variable PULUMI_CONVERT. IF this option is truthy, `make tfgen` will now be using `pulumi convert` when converting examples, specifically for the TF HCL to Pulumi PCL phase of the conversion. When rolling this out to providers, recommend making sure that Pulumi CLI in use is pinned first, as the repositories are sensitive to small changes in the generated examples and a floating Pulumi CLI reference can introduce breaking CI checks.
- Loading branch information