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

Terraform crash due to invalid JSON #22704

Closed
scjody opened this issue Sep 5, 2019 · 3 comments
Closed

Terraform crash due to invalid JSON #22704

scjody opened this issue Sep 5, 2019 · 3 comments
Labels
bug config crash dependencies Auto-pinning v0.12 Issues (primarily bugs) reported against v0.12 releases

Comments

@scjody
Copy link

scjody commented Sep 5, 2019

Terraform Version

Terraform v0.12.8

Terraform Configuration Files

{
  "module": {
    "jody-mp-1": {
      "source": "./main/",
      "providers": {
        "google.cloud": "google.cloud", #TODO
        "google.main": "google.testing"
      },
      "name": "jody-mp-1",
      "type": "testing",
      "license": "nope",
      "password": "also nope",
    }
  }
}

Debug Output

https://gist.github.com/scjody/65c1008cf988faa459b0a20a1d53e240

Crash Output

https://gist.github.com/scjody/ffadecab541e4e68f566497b7bc62b2d

Expected Behavior

Some sort of error message - the JSON I'm trying to use is invalid.

Actual Behavior

Crash

Steps to Reproduce

  1. terraform init
@hashibot hashibot added v0.12 Issues (primarily bugs) reported against v0.12 releases dependencies Auto-pinning labels Sep 5, 2019
@ashupathshala
Copy link

Hi, did you guys have any update or solution on this

@alisdair
Copy link
Contributor

This is an HCL bug which was fixed upstream and merged into Terraform in #24650. The fix will be released as part of the 0.13 release. Thanks for reporting!

@ghost
Copy link

ghost commented May 15, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug config crash dependencies Auto-pinning v0.12 Issues (primarily bugs) reported against v0.12 releases
Projects
None yet
Development

No branches or pull requests

5 participants