Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Error Causes Hang (AWS Example) #261

Closed
wilb opened this issue Sep 3, 2014 · 4 comments
Closed

Syntax Error Causes Hang (AWS Example) #261

wilb opened this issue Sep 3, 2014 · 4 comments
Labels

Comments

@wilb
Copy link

wilb commented Sep 3, 2014

Hi guys,

I meant to report an issue with this a week or so ago, following on from your basic tutorials I copied the example from http://www.terraform.io/intro/examples/aws.html and attempted to plan or apply with version 0.1.1. At that point it was erroring with a syntax error on column 12, at the bit where the aws_amis variable starts to have its values defined in the default section.

I've just noticed a new update on your site so downloaded the latest version before going again, but now I get no output from "terraform plan" or "terraform apply" at all. No errors, no nothing - the process does terminate with an exit code of 2 though.

It's entirely possible that I'm doing something stupid, but the lack of output from the process made me think it was worth raising this.

@wilb wilb changed the title AWS 2 tier example not working AWS 2 tier example not working & no feedback given as to why Sep 3, 2014
@pearkes pearkes changed the title AWS 2 tier example not working & no feedback given as to why Syntax Error Causes Hang (AWS Example) Sep 3, 2014
@pearkes
Copy link
Contributor

pearkes commented Sep 3, 2014

Hey @wilb,

Thanks for the detailed report. I just updated the AWS Two-Tier example to work with the recent syntax changes (we missed that) in the above commit.

I also reproduced Terraform "hanging" when given certain syntax. This is reproducible by using the AWS example configuration prior to my fix. I've tagged this as a bug and update the title to reflect the issue. Thank you!

@pearkes pearkes added the bug label Sep 3, 2014
@wilb
Copy link
Author

wilb commented Sep 3, 2014

Awesome - I've just been debugging the syntax errors myself and wasn't going to be far behind with a pull request for the docs! 👍

@robparrott
Copy link

I'd also encourage you to address the reason that the now invalid syntax causes one's laptop to hang!

@mitchellh
Copy link
Contributor

I fixed this upstream in HCL.

@ghost ghost locked and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants