forked from cds-snc/terraform-plan
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yaml
More file actions
48 lines (46 loc) · 1.26 KB
/
action.yaml
File metadata and controls
48 lines (46 loc) · 1.26 KB
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
43
44
45
46
47
48
name: 'Terraform Plan'
description: 'Terraform init, validate, format check and plan'
author: 'Canadian Digital Service'
inputs:
allow-failure:
description: 'Allow the action to fail'
required: false
default: 'false'
comment:
description: 'Add comment with changes to the PR'
required: false
default: 'true'
comment-delete:
description: 'Delete previous comments made by the bot on the PR'
required: false
default: 'false'
comment-title:
description: 'The title to give the PR comment'
required: false
default: 'Plan changes'
directory:
description: 'Directory with the *.tf files to validate'
required: false
default: '.'
github-token:
description: 'GitHub Token used to add comment to PR'
required: false
default: 'false'
terraform-init:
description: 'Custom Terraform init args'
required: false
default: ''
terragrunt:
description: 'Use Terragrunt instead of Terraform'
required: false
default: 'false'
skip-plan:
description: 'Skip the planning step, used for repos that do not specifically have a remove backend'
required: false
default: 'false'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: 'layers'
color: 'purple'