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
Posting per request of @swgillespie - this seems to be related to #2608 but he asked that I post a new issue because there can probably be better handling for "refresh".
Here's the gist:
We use Pulumi in our pipelines, and it's self-contained in a docker container.
Generally only the latest versions of Pulumi and the Azure and AWS plugins are installed in the container
We have a "nonstandard" package.json configuration as described in package.json not found by CLI if above local folder #2608 basically at the top level of our pulumi projects (/data/pulumi/package.json in the below example) we have one package.json that has the dependencies for all stacks
In our pipelines, we currently run a "refresh" step before the "destroy" step when we go to teardown to correct drift
With the above context, the refresh fails
Here is some output showing the issue:
deploy@3085431aa1b4:/data$ pulumi plugin ls
NAME KIND VERSION SIZE INSTALLED LAST USED
aws resource 0.18.1 160 MB n/a 48 seconds ago
azure resource 0.18.0 135 MB n/a 48 seconds ago
TOTAL plugin cache size: 294 MB
deploy@3085431aa1b4:/data$ cd pulumi/infra/azure/api/
deploy@3085431aa1b4:/data/pulumi/infra/azure/compute-studio$ pulumi version
v0.17.5
deploy@3085431aa1b4:/data/pulumi/infra/azure/api$ pulumi stack select MyCompany/api-u-prod-weu
Logging in using access token from PULUMI_ACCESS_TOKEN
deploy@3085431aa1b4:/data/pulumi/infra/azure/api$ pulumi refresh --yes
Previewing refresh (MyCompany/api-u-prod-weu):
error: could not load plugin for azure provider 'urn:pulumi:api-u-prod-weu::api::pulumi:providers:azure::default': no resource plugin 'azure-v0.16.7' found in the workspace or on your $PATH, install the plugin using `pulumi plugin install resource azure v0.16.7`
Let me know if you need any more information.
Thanks!
The text was updated successfully, but these errors were encountered:
Posting per request of @swgillespie - this seems to be related to #2608 but he asked that I post a new issue because there can probably be better handling for "refresh".
Here's the gist:
Here is some output showing the issue:
Let me know if you need any more information.
Thanks!
The text was updated successfully, but these errors were encountered: