prehistoric-account-60014
05/12/2020, 6:04 PMpulumi up
in CI.
error: no resource plugin 'kubernetes' found in the workspace or on your $PATH
I looked into existing GitHub issues but none of the solutions posted there seems to be working out.pulumi -C "$target" up -s "$PULUMI_STACK" -c imageTag="$CI_COMMIT_SHA" -c environmentSlug="$CI_ENVIRONMENT_SLUG" --yes
white-balloon-205
pulumi plugin ls
tell you in this environment? Do you have a pulumi-resource-kubernetes
plugin installed? Normally you would acquire it by running npm install
or similar.prehistoric-account-60014
05/13/2020, 12:02 PMyarn install
with a warm cache, install scripts don’t run and that’s how @pulumi/kubernetes
sets up the plugin. Setting PULUMI_HOME
and caching that directory together with node_modules
fixed it for me.