Skip to content

tflint

Pluggable Terraform linter

TFLint is a framework and each feature is provided by plugins, the key features are as follows:

  • Find possible errors (like illegal instance types) for Major Cloud providers (AWS/Azure/GCP).
  • Warn about deprecated syntax, unused declarations.
  • Enforce best practices, naming conventions.

devops

https://github.com/terraform-linters/tflint

amd64 arm64

Installation

1. Add WakeMeOps repository

curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash

2. Install tflint

sudo apt install tflint

Snippets

FROM wakemeops/minideb:bullseye

RUN install_packages \
    tflint=0.53.0*

USER 1001
- name: Install dependencies
  uses: upciti/wakemeops-action@v1
  with:
    packages: |
      tflint=0.53.0*

Download URLs

Version SHA256 Size (KB)
0.53.0 a7a7185cafe5110572ee2e0fefd17bbce4c537d035bff278d9cd72759240b9b5 7146
0.52.0 f59c9630c7073f41f0694eae90ba6dd53688a73007f46ce4a6eb37ac42652170 7081
0.51.1 d847d1ed269fefd4e596550b1d0f06ed03c4ee9fe55dab4c4f0900f904660db8 7075
0.51.0 ef8e34e70b77137ab2395cbd389643850df99c2e3936b602a8843b67494d42c0 7073
0.50.3 be15e0c75052d42e73bc9d8d4a400b562b9ac4874fc4b248a3964386407fe487 6745
0.50.2 5c688e76ebebaeaed0de900f718d73d4b265d76e85a225fb870eac391e231c53 6745
0.50.1 debb6d84c47f6134eb3052b5846dce5f15853fa65e46133d1d084420119e3b41 6746
0.50.0 86543c3360570c41e5b2560829954beb3cead0e64d580abbbc0e0daf9ea9a20a 6746
0.49.0 a0af7fadbd265773c17a99069974b5414630633fb545a1e3230f66dd610ff730 6940
0.48.0 c364a05c6190c1634838c3dc53f7bc4422a93232937be54da82910ceb2faffff 6956
Version SHA256 Size (KB)
0.53.0 15394bd6ade7018426036964ba77e7cf82a88c5721db1af35884cf0f72b5b7d5 6169
0.52.0 b6f48068111a550ae2ddef696f3419f2d12cb65e45a91434fb6be9a8bcab0ef7 6133
0.51.1 dc312ee04d82d51f0f65c2ccfe4d3715a9b8f61bd3a7d690b10ed903cce05753 6117
0.51.0 3b80e513a458dd5924e3112ac2cd324476be1ae388d2fb7c37d59018d6790196 6120
0.50.3 053857aad505364c81cd149406a1249aa59ae9ef6ef2adf8745077c55c0f5bfe 5837
0.50.2 77551e21e0130a07340f5f71be59d2fc514eba5f1c58727a2a46b38fd4f1ffab 5831
0.50.1 d179abc9b4f411c66243287e0fa47f4d93d945fa26b2d5f5c3c74828e03ebd68 5834
0.50.0 d80be12b76f56c3710dc580aec048c124953581c309a700a0d642073b5f3391b 5830
0.49.0 2737ffec1bf5f310fa5c32dfcd18c2150389db85907af69b4ed46b4efb2bf833 6014
0.48.0 afc22ecb8c94bee633d30fbde60ede30fd56e8d88ca7c143d963a9983c154f7d 6027

Blueprints

Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for tflint are versioned here.

Click here to see tflint ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/tflint/ops2deb.yml
name: tflint
matrix:
  architectures:
    - amd64
    - arm64
  versions:
    - 0.39.1
    - 0.39.2
    - 0.39.3
    - 0.40.0
    - 0.40.1
    - 0.41.0
    - 0.42.0
    - 0.42.1
    - 0.42.2
    - 0.43.0
    - 0.44.0
    - 0.44.1
    - 0.45.0
    - 0.46.0
    - 0.46.1
    - 0.47.0
    - 0.48.0
    - 0.49.0
    - 0.50.0
    - 0.50.1
    - 0.50.2
    - 0.50.3
    - 0.51.0
    - 0.51.1
    - 0.52.0
    - 0.53.0
homepage: https://github.com/terraform-linters/tflint
summary: pluggable Terraform linter
description: |-
  TFLint is a framework and each feature is provided by plugins, the key features
  are as follows:

  - Find possible errors (like illegal instance types) for Major Cloud providers
  (AWS/Azure/GCP).
  - Warn about deprecated syntax, unused declarations.
  - Enforce best practices, naming conventions.
fetch: https://github.com/terraform-linters/tflint/releases/download/v{{version}}/tflint_linux_{{target}}.zip
install:
  - tflint:/usr/bin/tflint

The blueprint fetch keyword contains a URL template pointing to tflint releases. Downloaded files are locked in a lockfile versioned here.

Click here to see tflint release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/tflint/ops2deb.lock.yml
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.1/tflint_linux_amd64.zip
  sha256: 385c977660f98e033b6b0b22a16dafad9ca530322320fea13882ba5af5340bd4
  timestamp: 2022-08-01 10:25:32+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.1/tflint_linux_arm64.zip
  sha256: 3c441136502d9f30596e4ceeb9d047b9af022b19764591d6924eea765f9ddadf
  timestamp: 2022-08-01 10:25:32+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.2/tflint_linux_amd64.zip
  sha256: 2a56e42db112ac5ae32ab31f37bee8c0803333eeb85556597935a95adb25f654
  timestamp: 2022-08-04 20:28:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.2/tflint_linux_arm64.zip
  sha256: c4c0db95bb72b246e26229b97b68f9651c014ed419cce55dd806b1fd98f6e388
  timestamp: 2022-08-04 20:28:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.3/tflint_linux_amd64.zip
  sha256: 53ab21354c3dedc8ae4296b236330b8b0e76a777d2013a6549107822c60631ef
  timestamp: 2022-08-12 11:21:30+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.39.3/tflint_linux_arm64.zip
  sha256: b41b5b9da78351d00ce5cdd694a4579653aff33157db27c1022352327ac09dac
  timestamp: 2022-08-12 11:21:30+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.40.0/tflint_linux_amd64.zip
  sha256: 9764aa7305466ad8d9870fd60d6de51a3536b6963d6456fca3127b4e5ceb2fbf
  timestamp: 2022-09-07 20:30:20+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.40.0/tflint_linux_arm64.zip
  sha256: 7826b86cded5bf98b6c90675515cf21759aff945e5fb8109aa280d560a793cac
  timestamp: 2022-09-07 20:30:20+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.40.1/tflint_linux_amd64.zip
  sha256: b5eb172ac6cdb61c104f0319397db8b0c0a1b214213b708e7fbef0f352cfc81e
  timestamp: 2022-09-17 17:25:23+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.40.1/tflint_linux_arm64.zip
  sha256: 0df99deb0424a494bfc71c31a98843760c4fcb08b3089a01da68d4c87dcaba5c
  timestamp: 2022-09-17 17:25:23+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.41.0/tflint_linux_amd64.zip
  sha256: 653aa84f25d49f2d8978c619ba13b9ef595eb781ba950e389fbeab1ac496df22
  timestamp: 2022-09-23 20:34:06+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.41.0/tflint_linux_arm64.zip
  sha256: f03ed9b2fe579e75b0a4d2bcf7c4e8728d39fcae9f2f6e0d2f6becf5add9d695
  timestamp: 2022-09-23 20:34:06+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.0/tflint_linux_amd64.zip
  sha256: b5f6e6b531a7684b9751988a70377f3af2e8212e24ad2614dda21835c7fb4912
  timestamp: 2022-10-23 17:27:55+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.0/tflint_linux_arm64.zip
  sha256: fe571461cf54f6fcad641e5de188d25f6a37ba18497a2ced0fc590efbbc29003
  timestamp: 2022-10-23 17:27:55+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.1/tflint_linux_amd64.zip
  sha256: 11294cb2f395182fefdc7d35f49fc18966dda8860fcea1ecd67b6ab190ab7ea0
  timestamp: 2022-10-24 20:44:26+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.1/tflint_linux_arm64.zip
  sha256: e4f43948369cbed59a9b1aa65546d913fd380baf9a0e3d6eabb47869d4c721f9
  timestamp: 2022-10-24 20:44:26+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.2/tflint_linux_amd64.zip
  sha256: f8ae2758f5b6dcf2d9fecc2b0d7c2cce094112635a13b1f9734a5d0bce8b6e83
  timestamp: 2022-10-25 20:54:59+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.42.2/tflint_linux_arm64.zip
  sha256: f4673e91b5e453fffc9191437efffc76043d80c8d2c314a261729b2159308dcf
  timestamp: 2022-10-25 20:54:59+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.43.0/tflint_linux_amd64.zip
  sha256: a40b0bdb2e4629ef8105c62bffc90f45fe4d8d7a2f667ff1a58b2ec9bf1f7be6
  timestamp: 2022-11-19 13:38:02+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.43.0/tflint_linux_arm64.zip
  sha256: fc468ce9546b1e8fbb89364faa88f02f6661fbf4e00a81df08794cb3d7c7b69d
  timestamp: 2022-11-19 13:38:02+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.44.0/tflint_linux_amd64.zip
  sha256: 1feea8b119e2ddc4391f997c7a3446ddb67934a9ef14dc4cecf912a73c4928c7
  timestamp: 2022-12-26 16:18:36+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.44.0/tflint_linux_arm64.zip
  sha256: b370dc0935c066e594bdaa87c7991e35731b575c36cd60d63b34cf7c4b5a5a5b
  timestamp: 2022-12-26 16:18:36+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.44.1/tflint_linux_amd64.zip
  sha256: 272918c5433ad7a507b04c33015b0ccfb1903828be1c23f0c28149669a327f4c
  timestamp: 2022-12-29 19:22:32+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.44.1/tflint_linux_arm64.zip
  sha256: 2a09a0be9753b31b580c4ec72c331c856f85827d9bd751180b268ba7aaffa968
  timestamp: 2022-12-29 19:22:32+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.45.0/tflint_linux_amd64.zip
  sha256: 3504244bd8221e1862a4e525434290408b4bad224028ad84b3ed4cdab711125f
  timestamp: 2023-02-12 19:22:13+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.45.0/tflint_linux_arm64.zip
  sha256: 655213f2eae45688517ffc734c440ec24e8aed0fd4d03304cf79c2ed6c2c41dc
  timestamp: 2023-02-12 19:22:13+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.46.0/tflint_linux_amd64.zip
  sha256: 31688a3e591a47d763db68f529f1d4297b9fcf17a5e1d024c065ffd087c37cfc
  timestamp: 2023-04-08 18:19:44+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.46.0/tflint_linux_arm64.zip
  sha256: a99438be1985cd71721eace46f482c938f8d8282ceae4151739f20d728cb57d8
  timestamp: 2023-04-08 18:19:44+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.46.1/tflint_linux_amd64.zip
  sha256: 4f292d6ef43c36849f52d2e1f62088f2d4f416e78487cc6d35871e715d0f85c2
  timestamp: 2023-04-25 10:50:55+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.46.1/tflint_linux_arm64.zip
  sha256: c7d7f8f7c02ad74b58b219e928bcdbb93dddfd225b8f98ddebd92851a37a7f4c
  timestamp: 2023-04-25 10:50:55+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.47.0/tflint_linux_amd64.zip
  sha256: 0866123ba33b1d73dab720ca73a6976e5fb5f1c595bdf18a684d5060eca09a96
  timestamp: 2023-06-18 09:15:26+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.47.0/tflint_linux_arm64.zip
  sha256: 4e1e63286b37e4562b26f54bd4ec52db73cf3426211c031f39c2f8c10dc05409
  timestamp: 2023-06-18 09:15:26+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.48.0/tflint_linux_amd64.zip
  sha256: 13c7947963c4dc4f0aa9e0cb7a0854367a425162a508bc7517d1cbcbef822f3c
  timestamp: 2023-09-03 18:18:52+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.48.0/tflint_linux_arm64.zip
  sha256: ef4e07ef95e5f2779df0ed43e62364855dafb92b938cf62f08c64016de2756b0
  timestamp: 2023-09-03 18:18:52+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.49.0/tflint_linux_amd64.zip
  sha256: 56d862054e8f71e3ba392c6617fca2d730b5ecdf8a4a0768ba6087406dcc7d63
  timestamp: 2023-11-12 18:19:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.49.0/tflint_linux_arm64.zip
  sha256: 8c0d0330dbdea4b3e9db9acbba7419cc01f8658b07bb74bb7bf6338a35329a8c
  timestamp: 2023-11-12 18:19:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.0/tflint_linux_amd64.zip
  sha256: ceb65a64b7b2b231eac9c24c32cf67cb7d7382ae18558f0dfadef2b8bff8627c
  timestamp: 2023-12-23 15:15:36+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.0/tflint_linux_arm64.zip
  sha256: 9060eb74e0278fe14a414447de8c9b61effd7f2d60e7bb8047ebcda9c6ed4f6f
  timestamp: 2023-12-23 15:15:36+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.1/tflint_linux_amd64.zip
  sha256: 5c0e7c33260ee900a2b8a359a295d6e83829651629f910aac6f4d9ec7c6b9ecd
  timestamp: 2024-01-08 15:18:12+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.1/tflint_linux_arm64.zip
  sha256: fcd7e84b3434f4b52c29eb6a8c6c52b8e0aa919f0da0b2dba529981e2f94c2e4
  timestamp: 2024-01-08 15:18:12+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.2/tflint_linux_amd64.zip
  sha256: c569df34383c1bea995918051c6a62b5d7107ccd43aeb3ab8eab872e3e10823e
  timestamp: 2024-01-21 15:16:20+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.2/tflint_linux_arm64.zip
  sha256: e703a7d3e841d1dee777aead5dccbf2447045b17ba7399eeee31fd83a9b085f5
  timestamp: 2024-01-21 15:16:20+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.3/tflint_linux_amd64.zip
  sha256: 70d66470f161ed48e6da0c58dc61787eced1ebd02397618424b8a55ff67f465f
  timestamp: 2024-02-05 21:05:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.50.3/tflint_linux_arm64.zip
  sha256: 46b04f8f793e5ff96b74948b993588e5f48476534b570216ad303951fa3ee1e3
  timestamp: 2024-02-05 21:05:35+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.51.0/tflint_linux_amd64.zip
  sha256: f823712c2c8d020744363af33307fbde7b03169902c71d9e64ce113e61526b7e
  timestamp: 2024-05-02 18:06:31+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.51.0/tflint_linux_arm64.zip
  sha256: e2c7c2e999e969171791478dab2835e7f2aafda6bbeed13f9e2835579d2017d8
  timestamp: 2024-05-02 18:06:31+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.51.1/tflint_linux_amd64.zip
  sha256: f45cf2868b6606744d72c41473906546c5738ddba41a222221da9572ade92336
  timestamp: 2024-05-11 15:05:29+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.51.1/tflint_linux_arm64.zip
  sha256: 918ae33a55b28252cdcb9acc47f75a2a0dadb26b6b4f11600bea05685edd557f
  timestamp: 2024-05-11 15:05:29+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.52.0/tflint_linux_amd64.zip
  sha256: bf758ff29b607b3fbc4a3630ea3b39df4afafe3cdb80c6d71fe528feeac2c58e
  timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.52.0/tflint_linux_arm64.zip
  sha256: 592f29c71d7f18ccb0bdb72c577bcd54b8a267ef31467d8b37ae6b630334e448
  timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.53.0/tflint_linux_amd64.zip
  sha256: bb0a3a6043ea1bcd221fc95d49bac831bb511eb31946ca6a4050983e9e584578
  timestamp: 2024-08-17 15:05:41+00:00
- url: https://github.com/terraform-linters/tflint/releases/download/v0.53.0/tflint_linux_arm64.zip
  sha256: 888de559c3716d1007496f22c949daf246c8e1f7315c320fea7eddb09de60ff2
  timestamp: 2024-08-17 15:05:41+00:00

Badge

WakeMeOps

[![WakeMeOps](https://docs.wakemeops.com/badges/tflint.svg)](https://docs.wakemeops.com/packages/tflint)
<a href="https://docs.wakemeops.com/packages/tflint">
  <img src="https://docs.wakemeops.com/badges/tflint.svg"/>
</a>
.. image:: https://docs.wakemeops.com/badges/tflint.svg
:target: https://docs.wakemeops.com/packages/tflint