sparse-intern-71089
08/06/2019, 6:54 PMbitter-oil-46081
08/06/2019, 6:59 PMpulumi plugin install
is run, it will use a custom server for downloading my plugin.
Unfortunately, I don't think there's a way to do that today.
A workaround would be to use the install
section of package.json
to have npm run pulumi plugin install --server ...
when the package itself is installed.bitter-oil-46081
08/06/2019, 7:01 PMbitter-oil-46081
08/06/2019, 7:02 PMpackage.json
add the following:
pulumi: {
resource: true,
server: "<whatever you want passed to --server>"
}
I believe that should work.best-xylophone-83824
08/06/2019, 7:03 PMbest-xylophone-83824
08/06/2019, 7:06 PM--- a/package.json
+++ b/package.json
@@ -7,4 +7,8 @@
"@pulumi/pulumi": "latest",
"@pulumi/gcp": "latest"
+ },
+ "pulumi": {
+ "resource": true,
+ "server": "<https://cachingproxy.mycorp/api.pulumi.com/>"
}
}
run :
[resource plugin gcp-0.18.13] installing
[resource plugin gcp-0.18.13] downloading from
error: [resource plugin gcp-0.18.13] downloading from : Get <https://api.pulumi.com/releases/plugins/pulumi-resource-gcp-v0.18.13-linux-amd64.tar.gz>: dial tcp 54.213.182.12:443: connect: connection refused
empty downloading from
suggests that serverURL
is empty at that point 😞bitter-oil-46081
08/06/2019, 9:01 PMbest-xylophone-83824
08/07/2019, 9:31 AMpulumi plugin install resource gcp $ver --server