This message was deleted.
# golang
s
This message was deleted.
l
Yeah, the GCP plugin should be installed automatically. What version of it do you have referenced in your go.mod file? As a work around you can always install the plugin manually:
Copy code
pulumi plugin install resource gcp vX.X.X
e
I have v3.21.1 in my go mod. Any idea on what would be the best way to hook into the pulumi Github Actions docker?
l
The command you run in this instance is
pulumi/actions preview
Can you first run a
pulumi/actions plugin install resource gcp v3.21.1
?
e
I just tried adding a step
- name: install-gcp-plugin
uses: <docker://pulumi/actions>
with:
args: plugin install resource gcp v3.21.1
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
PULUMI_CI: pr
PULUMI_ROOT: infra/cluster/processing
before the preview step. It installs the plugin successfully, but the preview command still fails with the same error message.