28mm / blast-radius

Interactive visualizations of Terraform dependency graphs using d3.js
https://28mm.github.io/blast-radius-docs/
MIT License
2.03k stars 256 forks source link

host = self.public_ip ValueError: unexpected IDENTIFIER #66

Open bluprince13 opened 4 years ago

bluprince13 commented 4 years ago

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 commented 4 years ago

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