-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathaction.yml
56 lines (55 loc) · 1.9 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
46
47
48
49
50
51
52
53
54
55
56
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: terraform-cdk-action
description: The Terraform CDK GitHub Action allows you to run CDKTF as part of your CI/CD workflow.
runs:
using: node20
main: dist/index.js
author: HashiCorp, Inc.
branding:
color: purple
icon: terminal
inputs:
cdktfVersion:
description: The version of CDKTF to use
default: 0.20.11
required: false
terraformVersion:
description: The version of Terraform to use
default: 1.10.5
required: false
workingDirectory:
description: The directory to use for the project
default: ./
required: false
mode:
description: "What action to take: `synth-only` runs only the synthesis, `plan-only` only runs a plan, `auto-approve-apply` runs a plan and then performs an apply, `auto-approve-destroy` runs a plan and then performs a destroy"
required: true
stackName:
description: The stack to run / plan, only required when the mode is `plan-only` or `plan-and-apply`
required: false
terraformCloudToken:
description: The Terraform Cloud / Terraform Enterprise token to use
required: false
githubToken:
description: The github token to use
required: false
commentOnPr:
description: Whether to comment the plan / the status on the PR
default: "true"
required: false
updateComment:
description: Whether to update the last comment on the PR rather than adding a new comment
default: "true"
required: false
customNpxArgs:
description: The additional CLI arguments to pass to npx as part of the cdktf-cli execution.
default: ""
required: false
cdktfArgs:
description: The additional CLI arguments to pass to cdktf as part of the cdktf-cli execution.
default: ""
required: false
suppressOutput:
description: Whether to suppress the output of the action in PR comments
default: "false"
required: false