rover icon indicating copy to clipboard operation
rover copied to clipboard

Plan fails due to missing variable, even when passing variable with -tfVar

Open fraserc182 opened this issue 2 years ago • 1 comments

I'm trying to use rover but getting issues with missing variables. This is the command I am using:

docker run --rm -it -p 9000:9000 -v $(pwd):/src im2nguyen/rover -standalone true -tfVar clusterName=eu-cluster

then I see this error:

2022/08/26 20:38:29 Starting Rover...
2022/08/26 20:38:29 Initializing Terraform...
2022/08/26 20:38:36 Generating plan...
2022/08/26 20:38:41 Unable to parse Plan: Unable to run Plan: variable "clusterName" was required but not supplied
[ec2-user@ip-10-253-11-224 terraform]$ docker run --rm -it -p 9000:9000 -v $(pwd):/src im2nguyen/rover -standalone

Is there something I am missing here?

fraserc182 avatar Aug 26 '22 20:08 fraserc182

Hi,

I'm actually also hitting the same issue. @fraserc182 / @im2nguyen : Any hints on how to fix this?

martintodorovBL avatar Sep 15 '22 15:09 martintodorovBL