News for hackers. Stuff that matters.
Re:Terraform 1.0 by sverhagen on Tuesday June 08, 2021 @12:43PM (#27437545)
I have really liked the Terraform support in IntelliJ, but the "HashiCorp Terraform / HCL language support" plugin seems to have had its most-recent release on July 17, 2020[1]. And it clearly does not support a bunch of the newer constructs and properties. And that's just very unfortunate.

[1] https://plugins.jetbrains.com/plugin/7808-hashicorp-terrafor...

Re:Terraform 1.0 by jen20 on Tuesday June 08, 2021 @01:18PM (#27438028)
Any examples of things that aren't supported? It doesn't need to embed the metadata per-resource anymore.
Re:Terraform 1.0 by sverhagen on Tuesday June 08, 2021 @06:08PM (#27441642)
I'm seeing errors on each.value.foo when using for_each. Also, this gives me errors:

locals { foo = { for bar in local.bars: "${bar.x}.${bar.y}" => bar } }

Then, optional(bool) is "is not a valid type constructor".

Those all seem "language" aspects. For a resource like "github_branch_protection" it seems to not recognize the right properties. That seems to be more of provider issue.