BigDataBoutique / elasticsearch-cloud-deploy

Deploy Elasticsearch on the cloud easily
https://bigdataboutique.com/services/elasticsearch-consulting
Apache License 2.0
330 stars 146 forks source link

`Error: Unsupported block type` with Terraform v0.12.6 #76

Closed nhooey closed 4 years ago

nhooey commented 5 years ago

When running terraform plan from the terraform-aws directory, using Terraform v0.12.6, I get many of these errors:

Error: Unsupported block type

  on client.tf line 4, in data "template_file" "client_userdata_script":
   4:   vars {

Blocks of type "vars" are not expected here. Did you mean to define argument
"vars"? If so, use the equals sign to assign it a value.

It seems like a syntax incompatibility.

Any ideas?

nhooey commented 5 years ago

Fixed by changing vars { to vars = {, and similarly with tags.

synhershko commented 5 years ago

@nhooey thanks for reporting, @tsimonyan can you please have a look?

bpluly commented 4 years ago

You need to run the upgrade for terraform 0.12 on the module.

synhershko commented 4 years ago

Closed via #84