-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
action.yaml
82 lines (78 loc) · 2.58 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
name: terraform-plan
description: Create a Terraform plan
author: Daniel Flook
inputs:
path:
description: Path to the Terraform configuration
required: false
default: .
workspace:
description: Name of the Terraform workspace
required: false
default: default
backend_config:
description: List of backend config values to set, one per line
required: false
default: ""
backend_config_file:
description: Path to a backend config file
required: false
default: ""
variables:
description: Variable definitions
required: false
var:
description: Comma separated list of vars to set, e.g. 'foo=bar'
required: false
deprecationMessage: Use the variables input instead.
var_file:
description: List of var file paths, one per line
required: false
parallelism:
description: Limit the number of concurrent operations
required: false
default: "0"
target:
description: List of resources to target for the plan, one per line
required: false
default: ""
replace:
description: List of resources to replace if an update is required, one per line
required: false
default: ""
destroy:
description: Create a plan to destroy all resources
required: false
default: "false"
label:
description: A friendly name for this plan
required: false
default: ""
add_github_comment:
description: Add the plan to a GitHub PR
required: false
default: "true"
outputs:
changes:
description: If the generated plan would update any resources or outputs this is set to `true`, otherwise it's set to `false`.
to_add:
description: The number of resources that would be added by this plan
to_change:
description: The number of resources that would be changed by this plan
to_destroy:
description: The number of resources that would be destroyed by this plan
plan_path:
description: Path to a file in the workspace containing the generated plan in an opaque binary format.
text_plan_path:
description: Path to a file in the workspace containing the generated plan in human readable format.
json_plan_path:
description: Path to a file in the workspace containing the generated plan in JSON format.
run_id:
description: If the root module uses the `remote` or `cloud` backend in remote execution mode, this output will be set to the remote run id.
runs:
using: docker
image: docker://danielflook/terraform-github-actions@sha256:4aa6179df0f08cabedbf3b340b419adf5c32854619be6926492f48048946ebb8
entrypoint: /entrypoints/plan.sh
branding:
icon: globe
color: purple