forked from recarnot/terraform-github-workspace-setup-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 872 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
36
# action.yml
name: 'Terraform Workspace setup'
description: 'Setup a Terraform Cloud/Enterprise workspace'
inputs:
hostname:
description: 'Terraform hostname'
required: true
default: "app.terraform.io"
organization:
description: 'Terraform Organization name'
required: true
workspace:
description: 'Terraform Workspace name'
required: true
token:
description: 'Terraform API token'
required: true
vars:
description: 'Variables to create in workspace'
required: false
default: ""
outputs:
workspace_id:
description: 'The created or updated Terraform workspace ID'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.organization }}
- ${{ inputs.workspace }}
- ${{ inputs.token }}
- ${{ inputs.vars }}
- ${{ inputs.hostname }}
branding:
icon: 'check-square'
color: 'blue'