Skip to content

"Plan not found on PR" when re-running failed job. #408

@glenthomas

Description

@glenthomas

Problem description

I'm sure that in the past (maybe long ago) we were able to re-run failed jobs and it would work. Now, if we have a failure, for example:

Error: Error acquiring the state lock
Error message: state blob is already locked

We fix the issue and re-run the job and it fails with

Plan not found on PR
Generate the plan first using the dflook/terraform-plan action. Alternatively set the auto_approve input to 'true'

Is this by design? It would be great to re-run the failed job rather than open a new PR with new plan. The plan would be the same as on the PR in certain cases.

Terraform version

1.12.2

Backend

Azure

Workflow YAML

Workflow log

Has debug logging been enabled?

  • Yes, the ACTIONS_STEP_DEBUG secret was set to true when capturing the workflow log above. I understand that if I have not done this, I may not receive a response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions