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
E tftest.TerraformTestError: Error running command plan: 1
E Error: Invalid character
E
E on <value for var.role_policies> line 1:
E (source code not available)
E
E Single quotes are not valid. Use double quotes (") to enclose strings.
E
E
E Error: Invalid expression
E
E on <value for var.role_policies> line 1:
E (source code not available)
E
E Expected the start of an expression, but found an invalid expression token.
Hah, I read that too quickly (dinner was calling), and did not spot the fact you're passing a Python list to tf_plan, not a Terraform list, which is a Python string. Try this
Running the latest tftest version (1.5.4)
My module has a list variable...
variables.py
And when I run the following code in my test...
test_module.py
I get the following output...
This seems similar to #20
The text was updated successfully, but these errors were encountered: