Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

terraform plan しなくても自動で文法注意してくれる設定を入れてみた

これは何

VScodeにて、terraform plan しなくても自動で文法注意してくれる設定を入れてみた、の記録です。
前提として、以下Extensionは入れてます。

https://marketplace.visualstudio.com/items?itemName=mauve.terraform

やってみた

$ brew install tflint

Pathが通っていれば、すぐ使えると思いますです。

適当にVPC作って、変な文法で書いてみます。

スクリーンショット 2021-08-03 11.24.33.png

ちゃんと注意されますね。すごい!

参考

https://sil.hatenablog.com/entry/terraform-linter-tflint-release
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What are the problem?