forked from patrontech/devops-tf-cloud-update-var
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (34 loc) · 984 Bytes
/
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
name: 'Update Terraform Cloud Variable Set'
description: 'Invoke Terraform API to update Terraform variable set value'
inputs:
organizationName:
description: 'Terraform organization Name'
required: true
terraformToken:
description: 'Terraform Token'
required: true
terraformHost:
description: 'Terraform Host Name'
default: 'app.terraform.io'
variableSetName:
description: 'The variable set key / name as shown in Terraform Cloud'
required: true
variableName:
description: 'The variable key / name as shown in Terraform Cloud'
required: true
variableHCL:
description: 'Specify true or false if variable should be in HCL format'
default: false
required: false
variableValue:
description: 'The variable value to be replaced in Terraform Cloud'
required: true
outputs:
variableId:
description: 'The Updated Variable ID'
runs:
using: 'node12'
main: 'index.js'
branding:
icon: 'play'
color: 'green'