generated from brandonc/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
37 lines (36 loc) · 1.31 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
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
name: HCP Terraform Destroy
description: "Creates a standard destroy run on the specified HCP Terraform/Terraform Enterprise workspace"
runs:
using: "node20"
main: "../dist/destroy.js"
inputs:
hostname:
required: false
default: "app.terraform.io"
description: "The Terraform Enterprise hostname. Defaults to app.terraform.io (HCP Terraform)."
token:
description: "The HCP Terraform/Terraform Enterprise access token."
required: true
organization:
description: "The HCP Terraform/Terraform Enterprise organization that owns the specified workspace."
required: true
workspace:
description: "The HCP Terraform/Terraform Enterprise workspace to fetch outputs from."
required: true
wait:
description: "If set, waits for the run to terminate and resources to be processed before the action finishes. Defaults to false."
required: false
default: "false"
auto-apply:
description: "If set, applies changes when a Terraform plan is successful. Defaults to true."
required: false
default: "true"
message:
required: false
description: "A custom message to associate with the run."
default: "Run created by GitHub action"
outputs:
run-id:
description: "The id of the run that was created"