-
This is probably a silly question but what does the
I think it means the path to the Also does |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
While a GitHub Actions job is running it gets its own directory on disk to use, called it's workspace. You would almost always use the checkout action to clone your repo into the workspace as the first step of your job, so you can think of Confusingly, Terraform has its own idea of a workspace, which you set with the |
Beta Was this translation helpful? Give feedback.
While a GitHub Actions job is running it gets its own directory on disk to use, called it's workspace.
path
is the relative path to the directory containing your terraform files, from the workspace.You would almost always use the checkout action to clone your repo into the workspace as the first step of your job, so you can think of
path
as the path to your terraform directory inside your repo. The default being the root of your repo.Confusingly, Terraform has its own idea of a workspace, which you set with the
workspace
input.