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

host = self.public_ip ValueError: unexpected IDENTIFIER #66

Open
bluprince13 opened this issue Aug 15, 2019 · 1 comment
Open

host = self.public_ip ValueError: unexpected IDENTIFIER #66

bluprince13 opened this issue Aug 15, 2019 · 1 comment

Comments

@bluprince13
Copy link

It trips up on the host = self.public_ip line.

  connection {
    type        = "ssh"
    host        = self.public_ip
    user        = "ec2-user"
    private_key = "${file(var.private_key_path)}"
  }

to give this error message:

ValueError: Line 27, column 496: unexpected IDENTIFIER
127.0.0.1 - - [15/Aug/2019 21:38:44] "GET /graph.json HTTP/1.1" 500 -

Works fine if I remove that line.

@krazik-intel
Copy link

+1, seems issue with the new terraform 0.12+ syntax

dustinlharrison added a commit to dustinlharrison/blast-radius that referenced this issue Nov 21, 2019
…8mm#71: work around pyhcl

virtuald/pyhcl#55: pyhcl doesn't support terraform v0.12

Resolve this temporarily by using the go library `hcl2json` which allows
colorization and rendering to still work.  JSON references don't appear
to work, but the package is still usable.

Add pipenv support and update documentation and Makefile to support the
external go package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants