MaterializeInc / pulumi-fivetran

A Pulumi provider for the Fivetran ETL platform.
Apache License 2.0
6 stars 1 forks source link

How do I install this as a pulumi plugin? #1

Closed solomonshorser closed 2 years ago

solomonshorser commented 2 years ago

I installed the package via pip, but when I run pulumi, I get this error:

Previewing update (dev):
     Type                          Name                             Plan       Info
 +   pulumi:pulumi:Stack           fivetran-connection-manager-dev  create     
     └─ pulumi:providers:fivetran  provider                                    1 error

Diagnostics:
  pulumi:providers:fivetran (provider):
    error: no resource plugin 'pulumi-resource-fivetran' found in the workspace at version v0.1.6 or on your $PATH, install the plugin using `pulumi plugin install resource fivetran v0.1.6`

So I ran pulumi plugin install resource fivetran v0.1.6 as suggested, which yields:

[resource plugin fivetran-0.1.6] installing
error: [resource plugin fivetran-0.1.6] downloading from : 403 HTTP error fetching plugin from https://get.pulumi.com/releases/plugins/pulumi-resource-fivetran-v0.1.6-darwin-amd64.tar.gz

It looks like whatever I installed via pip is not recognized by pulumi, and I'm not sure how to resolve this. This is my first time using pulumi so I'm not sure if this behaviour is normal or not.

benesch commented 2 years ago

Ah yeah, third-party Pulumi plugins still have some rough edges. Try something like this:

pulumi plugin install resource fivetran v0.1.6 --server https://github.com/MaterializeInc/pulumi-fivetran/releases/download/v0.1.6/
solomonshorser commented 2 years ago

Thanks, that seems to have done it!

solomonshorser commented 2 years ago

Hmmm maybe put a note about the 3rd-party plugin install on the main README?