-
-
Notifications
You must be signed in to change notification settings - Fork 164
/
Copy pathaction.yaml
31 lines (28 loc) · 852 Bytes
/
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
name: terraform-new-workspace
description: Creates a new Terraform workspace. If the workspace already exists, succeeds without doing anything.
author: Daniel Flook
inputs:
path:
description: The path to the Terraform root module directory.
required: false
default: "."
workspace:
description: The name of the Terraform workspace to create.
required: true
backend_config:
description: List of Terraform backend config values, one per line.
required: false
default: ""
backend_config_file:
description: |
List of Terraform backend config files to use, one per line.
Paths should be relative to the GitHub Actions workspace
required: false
default: ""
runs:
using: docker
image: ../image/Dockerfile
entrypoint: /entrypoints/new-workspace.sh
branding:
icon: globe
color: purple