Open
Description
tfaction version
v1.15.3
Overview
Our tfaction fails to terraform-apply after renovate runs automerge.
Strangely, terraform-apply runs successfully when we just merge PR manually.
I thinks gh
command can't find artifact in here.
tfaction/terraform-apply/download_plan_file.sh
Lines 52 to 54 in 0cb44a9
I tried to investigate the issue, but couldn't find a clue.
Any suggestions?
How to reproduce
Not sure, but renovate automerge causes this issue.
Expected behaviour
apply works successfully.
Actual behaviour
tfaction comment.
Failed to download a plan file from GitHub Actions Artifact
$ gh run download -D /tmp/tmp.v7nFoPJtZV -n terraform_plan_file_hoge 13359701473
Details
no valid artifacts found to download
After the above failure, I downloaded a artifact with the following command manually.
Strangely, I could download an artifact without a problem.
gh run download -n terraform_plan_file_hogehoge 13359701473
Here is github actions log.
Run suzuki-shunsuke/tfaction/apply@fec96cd753f6d322b758c44328c6c512a77c12a0
Run suzuki-shunsuke/tfaction/[email protected]
Run suzuki-shunsuke/tfaction/[email protected]
Run suzuki-shunsuke/tfaction/[email protected]
Run suzuki-shunsuke/tfaction/[email protected]
Run bash "$GITHUB_ACTION_PATH/main.sh"
bash "$GITHUB_ACTION_PATH/main.sh"
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
[reducted]
jq-1.7
gh version 2.67.0 (2025-02-11)
https://github.com/cli/cli/releases/tag/v2.67.0
no valid artifacts found to download
run a command: exit status 1
Error: Process completed with exit code 1.
Note
No response
Activity