rancher / quickstart

381 stars 336 forks source link

AWS quickstart not working #38

Closed slamkalukas closed 5 years ago

slamkalukas commented 5 years ago

Hello, i am trying to run Runcher terraform quickstart. After preparing variables, we got an error:

Unspoorted block type on main.tf line 251, in data "template_file" "userdata_server": 251: 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.

Same for line 263

Terraform version: v0.12.0

Can you investigate please? Thank you.

ianwesterfield commented 5 years ago

Same thing happens with the DO quickstart. Per https://www.terraform.io/docs/providers/template/index.html, I resolved these errors by inserting = between vars and { for each instance.

ananth-racherla commented 5 years ago

@ianwesterfield aws script was broken in a few additional places. See https://github.com/rancher/quickstart/pull/40

b0nete commented 4 years ago

Same thing happens with the DO quickstart. Per https://www.terraform.io/docs/providers/template/index.html, I resolved these errors by inserting = between vars and { for each instance.

Thanks!, this work for me.