-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
61 lines (61 loc) · 2.11 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
---
name: Terraform
description: Terraform all-in-one workflow
inputs:
report_drift:
required: false
description: Whether to report unapplied changes
default: false
slack_channel_id:
required: false
description: Slack channel to report unapplied changes (required when `report_drift` is true)
default: 'C03MESNUK9P' #terraform-drift
google_credentials:
required: true
description: Google credentials
terraform_backend:
required: false
description: Location of a terraform backend configuration file
terraform_directory:
required: false
description: Location of terraform manifests
default: ./
terraform_do_apply:
required: false
description: Whether to run `terraform apply` as last step
default: 'false'
terraform_do_destroy:
required: false
description: Whether to run `terraform destroy` (`terraform_do_apply` and `terraform_do_destroy` can not both be true)
default: 'false'
terraform_lock:
required: false
description: Whether to (try to) lock the state during plan/apply
default: 'false'
terraform_parallelism:
required: false
description: Limit the number of concurrent operations during plan/apply
default: '10'
terraform_plan_destroy:
required: false
description: Whether to run `terraform plan -destroy` instead of `terraform plan`
default: 'false'
terraform_refresh:
required: false
description: Whether to (try to) refresh the state during plan/apply
default: 'true'
terraform_targets:
required: false
description: A multiline string containing targets that should be passed to terraform (one per line)
terraform_variables:
required: false
description: 'A JSON string containing variables that should be passed to terraform. For example: {"my_var": "my_value"}'
terraform_variable_files:
required: false
description: A multiline string containing .tfvars that should be passed to terraform (one per line)
terraform_workspace:
required: false
description: The name of the workspace that resources should be applied in
runs:
using: 'node16'
main: 'dist/index.js'