forked from addresscloud/terraform-cloud-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
45 lines (42 loc) · 1.05 KB
/
action.yml
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
# action.yml
name: 'Terraform Cloud Action'
description: 'Submit a run to Terraform Cloud.'
inputs:
tfToken:
description: 'Terraform Cloud Token.'
required: true
tfOrg:
description: 'Terraform Cloud Organization.'
required: true
tfWorkspace:
description: Terraform Cloud Workspace.'
required: true
filePath:
description: 'Archive (.tar.gz) to submit.'
required: true
identifier:
description: 'Unique identifier for workflow (e.g. Git SHA)'
required: true
awaitApply:
description: 'Wait for apply to complete.'
required: false
default: false
awaitInterval:
description: 'Duration to wait between subsequent status requests (seconds).'
required: false
default: 60
retryLimit:
description: 'Number of times to retry Terraform Cloud API requests.'
required: false
default: 5
outputs:
runId: # id of output
description: 'The Id of the run.'
status:
description: 'Status of the run.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'server'
color: 'purple'