forked from Phaka/terraform-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
42 lines (38 loc) · 1.05 KB
/
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
37
38
39
40
41
42
name: 'Phaka Terraform Action'
description: 'An action that wraps Terraform and provides a few extra features'
author: 'Werner Strydom'
branding:
icon: 'heart'
color: 'red'
inputs:
working-directory:
description: "The location where the terraform files are stored"
required: false
default: "."
workspace:
description: "The name of the workspace to use"
required: false
default: "default"
check-format:
description: 'Whether to check the formatting of the Terraform files'
required: false
default: 'false'
validate-module:
description: 'Whether to validate the Terraform module'
required: false
default: 'true'
command:
description: 'The Terraform command to run (plan, apply, destroy)'
required: true
outputs:
to-add:
description: "Number of resources to add"
to-change:
description: "Number of resources to change"
to-destroy:
description: "Number of resources to destroy"
to-import:
description: "Number of resources to import"
runs:
using: node20
main: dist/index.js