Open skadem07 opened 4 years ago
Any variables you put in Vars
within terraform.Options
get passed to your Terraform module via -var
arguments. As of Terraform 0.12, if you pass -var foo=bar
to a module, then it must have a variable "foo"
declared within it.
How do we pass values to a module , I remember having terratest work without having to define a variables.tf file inside root-module. But now it fails if i don't define a variables.tf file in root-directory. Am I missing something, or its mandatory that we should pass the variables.tf in root-directory?
My directory structure looks liks tf_acm_module github repo
Error:
TestTerraformAwsNetworkExample 2020-06-24T23:31:19-04:00 logger.go:66: