-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
30 lines (30 loc) · 952 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: GitHub Action linting Terraform files
author: Krzysztof Szyper / ChristophShyper / biotyk@mail.com
description: GitHub Action that will run TFlint on Terraform files
inputs:
fail_on_changes:
description: Whether the action should fail if errors found. Defaults totrue.
required: false
default: "true"
dir_filter:
description: Filter for directories to check. Check all by default.
required: false
default: "*"
tflint_config:
description: Location of TFLint config file. Defaults to .tflint.hcl.
required: false
default: ".tflint.hcl"
tflint_params:
description: Parameters passed to TFLint. Defaults to none.
required: false
default: ""
run_init:
description: Whether the action should run `terraform init`. Defaults to true.
required: false
default: "true"
runs:
using: docker
image: docker://devopsinfra/action-tflint:v0.3
branding:
color: purple
icon: upload-cloud