What's the way to terraform lint?

618    Asked by BuffyHeaton in Devops , Asked on Mar 7, 2023

I'm hoping there is something to pick up when I have misspelt variables and comments to save me some time when I'm checking my code and reduce the potential for any errors.


I normally use IntelliJ IDE for Terraform on a MAC but also have VS code set up that I can use.


Is there a plugin for either I could use or even a different tool? The imaging variable might be difficult to lint due as I use underscores to separate words in my variable names so the tool would need to know to treat underscores as white space for linting purposes.

Answered by David Edmunds
VSCode has a Terraform Lint "l2fprod.terraform-fork" Have NOT tried it. Did a simple search terra + lint. HTH DrewBai

Your Answer

Answer (1)

Impressed with suggestions on how to approach coreball programs. Research and apply features well. Learn to choose the right language for each programming program. Maximize creativity.

4 Weeks

Interviews

Parent Categories