-
-
Notifications
You must be signed in to change notification settings - Fork 159
/
Copy pathaction.yaml
36 lines (32 loc) · 823 Bytes
/
action.yaml
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
31
32
33
34
35
36
name: terraform-test
description: Execute automated tests for a Terraform module
author: Daniel Flook
inputs:
path:
description: Path to the Terraform module under test
required: false
default: .
test_directory:
description: Path to the Terraform tests
required: false
default: ""
test_filter:
description: Test files to run within the test_directory
required: false
default: ""
variables:
description: Variable definitions
required: false
var_file:
description: List of var file paths, one per line
required: false
outputs:
failure-reason:
description: The reason for the build failure. May be `no-tests` or `tests-failed`.
runs:
using: docker
image: ../image/Dockerfile
entrypoint: /entrypoints/test.sh
branding:
icon: globe
color: purple