green-musician-49057
04/20/2021, 2:48 AMError: Major version mismatch. You are using Pulumi CLI version 3.0.0 with Automation SDK v2. Please update the SDK.
I checked the pulumi/actions repo and it seems like you're getting the same error: https://github.com/pulumi/actions/runs/2385713822
UPDATE: We fixed this by pinning the version of the pulumi action, e.g. uses: pulumi/actions@v2.2.0
adventurous-garage-59192
04/20/2021, 3:22 AMpulumi/actions@v2
consumers.green-musician-49057
04/20/2021, 3:27 AMuses: pulumi/actions@v2.2.0
red-match-15116
04/20/2021, 3:35 AMv3
release.flaky-ghost-73674
04/20/2021, 3:37 AM@[tag]
syntax, but if you don’t provide one I think it takes latest from the default branch.green-musician-49057
04/20/2021, 3:39 AMred-match-15116
04/20/2021, 3:47 AMv3
so you can use the v3
CLI because your code is using automation api from SDK v3
- is that right?
2. @adventurous-garage-59192 can you tell me more about the issue you’re running into? Are you getting the same error? And you’re using CLI v2?green-musician-49057
04/20/2021, 3:50 AMv2.24.1
the first time the issue cropped up, about 3 hours ago, 6:02PM PDTred-match-15116
04/20/2021, 3:52 AMYou are using Pulumi CLI version 3.0.0 with Automation SDK v2. Please update the SDK.
green-musician-49057
04/20/2021, 3:54 AMpulumi/action-install-pulumi-cli@v1.0.1
pulumi-version
specified. I assume that would try to install the latest, which would be v3red-match-15116
04/20/2021, 3:55 AMlatest
if no version is specified.
You can specify the version with:
- name: Install pulumi
uses: pulumi/action-install-pulumi-cli@v1.0.2
with:
pulumi-version: 2.25.1
adventurous-garage-59192
04/20/2021, 4:23 AMbillowy-army-68599
04/20/2021, 5:16 AM