I'm trying to avoid hard-coding module sources; the simplest approach would be:
variable "foo_module_source" {
default = "github.com/thisisme/terraform-foo-module"
}
module "foo" {
source = "${var.foo_module_source}"
}
The result I get while attempting to run terraform get -update is
Error loading Terraform: Error downloading modules: error downloading module 'file:///home/thisisme/terraform-env/${var.foo_module_source}': source path error: stat /home/thisisme/terraform-env/${var.foo_module_source}: no such file or directory
I'm trying to avoid hard-coding module sources; the simplest approach would be:
The result I get while attempting to run
terraform get -updateis