pulumi / pulumi-cloudngfwaws

provider for Palo Alto Networks Cloud NGFW for AWS
Apache License 2.0
2 stars 0 forks source link

Use the correct `*.Main` functions #22

Closed iwahbe closed 2 days ago

iwahbe commented 2 days ago

The underlying provider is built on the SDKv2 schema, so we need to use the corresponding .Main functions: pkg/tfbridge.Main and pkg/tfgen.Main respectively.

Previously, we were using pkg/tfbridge.MainWithMuxer and pkg/pf/tfgen.Main. The pf/tfgen main seemed to work (but may generate erroneous errors) and the MainWithMuxer paniced on startup.

Fixes #21

github-actions[bot] commented 2 days ago

Does the PR have any schema changes?

Looking good! No breaking changes found. No new resources/functions.

Maintainer note: consult the runbook for dealing with any breaking changes.

pulumi-bot commented 2 days ago

This PR has been shipped in release v0.0.2.