Closed RecursiveHook closed 1 year ago
The tf fix step doesn't seem to support directories?
tf fix
As per docs, it is implied that all commands support . (directory) values for target.
.
target
Run hashicorp/packer-github-actions@master with: command: fix target: . /usr/bin/docker run --name x --label x --workdir /github/workspace --rm -e INPUT_COMMAND -e INPUT_TARGET -e INPUT_ARGUMENTS -e INPUT_WORKING_DIRECTORY -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/x/x":"/github/workspace" x:x Error parsing template: read .: is a directory
Add the fix step to an action?
1.) Link to a Gist of your Workflow configuration: N/A
2.) Any other relevant environment information: N/A
This was fixed in #63
The
tf fix
step doesn't seem to support directories?Expected Behavior
As per docs, it is implied that all commands support
.
(directory) values fortarget
.Current Behavior
Steps to Reproduce
Add the fix step to an action?
Environment
1.) Link to a Gist of your Workflow configuration: N/A
2.) Any other relevant environment information: N/A