You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2020. It is now read-only.
Perhaps I'm missing something, but I can't get my terraform plan step to pass for the life of me. I've been trying to better understand the code that executes the plan, but my bash-fu is nearly nonexistent. Here's my setup:
I've tried just about every permutation I can think of
args: '-var-file=var/default.tfvars'
args: '-var-file=./var/default.tfvars'
args: '-var-file=./terraform/var/default.tfvars' (in case the working_dir option isn't respected although I think it should be)
args: '-var-file="./var/default.tfvars"' (the docs suggest wrapping in double quotes)
etc. etc. etc.
No matter what flavor I try, terraform plan always complains that my variables aren't set (I don't have defaults, I'm relying on my tfvars file).
Error: No value for required variable
on vars.tf line 9:
9: variable "my_var" {
The root module input variable "my_var" is not set, and has no default
value. Use a -var or -var-file command line argument to provide a value for
this variable.
Is there an issue with this action (perhaps related to #110 or #109?)? Is there some specific combination of symbols I need for this to work? I'm kind of at a loss.
The text was updated successfully, but these errors were encountered:
Perhaps I'm missing something, but I can't get my
terraform plan
step to pass for the life of me. I've been trying to better understand the code that executes the plan, but my bash-fu is nearly nonexistent. Here's my setup:I would think the relevant part is the
args
line:I've tried just about every permutation I can think of
args: '-var-file=var/default.tfvars'
args: '-var-file=./var/default.tfvars'
args: '-var-file=./terraform/var/default.tfvars'
(in case theworking_dir
option isn't respected although I think it should be)args: '-var-file="./var/default.tfvars"'
(the docs suggest wrapping in double quotes)No matter what flavor I try,
terraform plan
always complains that my variables aren't set (I don't have defaults, I'm relying on mytfvars
file).Is there an issue with this action (perhaps related to #110 or #109?)? Is there some specific combination of symbols I need for this to work? I'm kind of at a loss.
The text was updated successfully, but these errors were encountered: