Show HN: I Made a Terraform Crash Course
Hi.
I made a video crash course about Terraform 0.12. It's one of four I want to do. I would love to show you what I've made so far and get your feedback and thoughts.
The course is financially free but does require an email to signup (a limitation of the platform I'm using): https://www.thecloud.coach/terraform-crash-course
Let me know if you have any questions.
Thanks.
7 comments
[ 3.2 ms ] story [ 27.0 ms ] threadJust a brief note, Terraform 0.12's linter is broken in VSCode for HCL2. You'll find regular syntax errors in for each loops and similar inspite of them being accurate.
https://github.com/mauve/vscode-terraform/issues/157
Till HCL2 is completely supported, I and my colleagues have been using IntelliJ based IDE's such as PyCharm which AFAIK has the only working HCL2 working syntax linter.
> Just a brief note, Terraform 0.12's linter is broken in VSCode for HCL2
If you hit Command+Shift+P (or Cntrl+Shift+P on Windows/Linux) to bring up the command box and enter, "terraform enable", you'll see an option that reads: "Terraform: Enable/Disable Language Server" - this loads a language server that has 0.12 support.
There's also an active bounty on Bountysource for Julio who's actively building HCL2 support (I really don't want to use PyCharm _just_ for Terraform.
Syntax errors will still be found when using for each loops and variables. E.g, the Jonny variable below shows syntax errors in VSCode. The ```var.some-accounts``` also spits out a syntax error below, as does ```each.key```These are the kinds of problems that only exist in the HN audience, sorry ¯\_(ツ)_/¯
And an extremely small subset of that audience, too.
Automatically disabling JavaScript makes sense on first load, but after the website has been established as trustworthy, I don't see why you wouldn't then let the relevant scripts load (the ones you need/desire; not the Google ones.)
So yeah, I'm sorry I can't offer you an alternative.