Skip to content

pregress/tflint-ruleset-azurerm-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TFLint Ruleset AzureRm Security

build codecov

This is a repository for an azurerm tflint rule set to enforce security best practices.

Requirements

  • TFLint v0.42+
  • Go v1.22

Installation

You can install the plugin with tflint --init. Declare a config in .tflint.hcl as follows:

plugin "azurerm-security" {
  enabled = true

  version = "0.1.6"
  source  = "github.com/pregress/tflint-ruleset-azurerm-security"
}

Rules

See the documentation.

Building the plugin

Clone the repository locally and run the following command:

$ make

You can easily install the built plugin with the following:

$ make install

Note that if you install the plugin with make install, you must omit the version and source attributes in .tflint.hcl:

plugin "azurerm-security" {
    enabled = true
}