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
│ Error: Failed to parse command-line flags
│
│ flag provided but not defined: -var
╵
╷
│ Error: Too many command line arguments
│
│ Expected at most one positional argument.
Epxected Issue
In terraform, terraform validate don't required -var or -var-files.
But in terratest, terraform.InitAndValidate or terraform.InitAndValidateE needs vars.
But when I use vars: map[string]interface{} with terratest, terratest typed terraform validate -var ....
But, Terraform don't supports -v option in validate.
So, this implementation of terraform.InitAndValidate(E) can't executeed at any way.
The text was updated successfully, but these errors were encountered:
Codes & Commit Id
PR : #8
Commit : 2fc8173
Expected Result
Success
Real Result
Failed
│ Error: Failed to parse command-line flags │ │ flag provided but not defined: -var ╵ ╷ │ Error: Too many command line arguments │ │ Expected at most one positional argument.
Epxected Issue
In terraform,
terraform validate
don't required-var
or-var-files
.But in terratest,
terraform.InitAndValidate
orterraform.InitAndValidateE
needs vars.But when I use
vars: map[string]interface{}
with terratest, terratest typedterraform validate -var ...
.But, Terraform don't supports
-v
option in validate.So, this implementation of terraform.InitAndValidate(E) can't executeed at any way.
The text was updated successfully, but these errors were encountered: