astonishing-solstice-53645
02/19/2024, 8:40 PM/home/runner/work/_actions/pulumi/actions/v5/webpack:/pulumi-github-action/node_modules/@pulumi/pulumi/automation/errors.js:77
: new CommandError(result);
^
CommandError: code: -2
stdout:
stderr: Command failed with exit code 255: pulumi preview --exec-agent pulumi/actions@v5 --color auto --exec-kind auto.local --event-log /tmp/automation-logs-preview-64NqCr/eventlog.txt --stack prd --non-interactive
[resource plugin cloudflare-4.2.0] installing
Previewing update (prd)
<snip>
@ Previewing update...............................................................................................................
pulumi:pulumi:Stack mydomain-prd running
cloudflare:index:Zone <http://mydomain.com|mydomain.com> error: cloudflare:index/zone:Zone resource '<http://mydomain.com|mydomain.com>' has a problem: Invalid or unknown key. Examine values at 'Zone.AccountId'.
However locally I get no errors and there are no changes as everything has been applied. Using the same secrets.
$ pulumi preview --stack prd --non-interactive
astonishing-solstice-53645
02/19/2024, 9:04 PMpulumi
CLI.astonishing-solstice-53645
02/19/2024, 9:12 PM<http://mydomain.com|mydomain.com>
resource to mydomain.com-zone
but still get the same error.astonishing-solstice-53645
02/19/2024, 9:35 PMrefresh: true
to the GitHub Action step results in the refresh succeeding (no changes) and PR commented, but still the preview
fails.