dcos-in-triton
dcos-in-triton copied to clipboard
Issues with Terraform 0.7.4
Hi,
Doesn't seem to want to work with the new version of terraform. This is the vanilla triton.tf config that pulls down from the repo.
$ terraform --version
Terraform v0.7.4
$ terraform plan
Error loading config: Error loading /Users/jschmidt/repos/dcos-in-triton/triton.tf: Error reading config for triton_machine[dcos-master]: parse error: syntax error
Jay
Was just about to open an issue for the same error. I was able to get it to execute "terraform plan" by removing the escaping "" in
name = "${format("dcos-master-%03d", count.index + 1)}"
"terraform apply" doesn't apply then but complains about "Invalid VM parameters: Invalid machine name" (actually it's not terraform that's complaining but Tritons cloudapi).
I've gone back to terraform-0.6.16. All the 0.7.x versions give the same syntax error. 0.6.16 crashes.
0.7.0-rc1 and 0.7.0-r2 crash like 0.6.16. 0.7.0-rc3 is the first version with the syntax error.
Same with terraform 0.7.6