I'm trying to run `github-action-atmos-terraform-p...
# atmos
i
I'm trying to run
github-action-atmos-terraform-plan@v5.2.1
and running into an issue late with the step named
Publish Summary or Generate GitHub Issue Description for Drift Detection
where it's generating an invalid path for the working directory
Error: An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/terraform-redacted/terraform-redacted/.//home/runner/work/terraform-redacted/terraform-redacted/components/terraform/aws/api-gateway'. No such file or directory
. Given that the path is baked in with working-directory:
./${{ steps.vars.outputs.component_path }}
how do I resolve this? I would imagine more people would be hitting it if it were a bug.
✅ 1
g
@Igor Rodionov
@Igor Rodionov bumping this up
i
I forked the action and changed the working directory to
working-directory: ${{ steps.vars.outputs.component_path }}
and this resolved the issue for me. Why this isn't broken for anyone else is a mystery to me since the
./
is always going to route from cwd and the component_path is fully qualified in my environment.
g
@Igor Rodionov
i
@Ian Cornett I will check asap. thanks for the bug report
i
Looks like the problem is that I was using
ATMOS_BASE_PATH: ${{ github.workspace }}
instead of
./
👍 1
i
@Ian Cornett it was not broken for everyone else if they have pinned atmos version
i
I didn't think it was, that's why I was trying to figure out what I was doing wrong 🙂
i
@Ian Cornett https://github.com/cloudposse/github-action-atmos-terraform-plan/releases/tag/v5.2.1 I made the fix and released it yesterday. Could you confirm that works for you?
i
I should hopefully have a PR to run today and will check it out