forked from pulumi/actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
104 lines (104 loc) · 3.46 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
name: 'Pulumi CLI Action'
author: Pulumi
description: Pulumi's GitHub Actions deploy apps and infrastructure to your cloud of choice, using just your favorite language and GitHub.
branding:
icon: upload-cloud
color: purple
inputs:
command:
description: 'Pulumi command to run, eg. up'
required: true
stack-name:
description: 'Which stack you want to apply to, eg. dev'
required: true
work-dir:
description: 'Location of your Pulumi files. Defaults to ./'
required: false
default: ./
comment-on-pr:
description: 'If true, a comment will be created with results'
required: false
default: 'false'
comment-on-pr-number:
description: 'Overrides the PR used to comment on'
required: false
default: '0'
github-token:
description: 'Github Token'
required: false
default: ${{ github.token }}
cloud-url:
description: 'A cloud URL to log in to'
required: false
default: ''
secrets-provider:
description: 'The type of the provider that should be used to encrypt and decrypt secrets. Possible choices: default, passphrase, awskms, azurekeyvault, gcpkms, hashivault'
required: false
default: ''
parallel:
description: 'Allow P resource operations to run in parallel at once (1 for no parallelism). Defaults to unbounded.'
required: false
default: '2147483647'
message:
description: 'Optional message to associate with the update operation'
required: false
default: ''
config-map:
description: 'Config to use during the operations'
required: false
default: ''
expect-no-changes:
description: 'Return an error if any changes occur during this update'
required: false
diff:
description: 'Display operation as a rich diff showing the overall change'
required: false
replace:
description: 'Specify resources to replace. Multiple resources can be specified one per line'
required: false
target:
description: 'Specify a single resource URN to update. Other resources will not be updated. Multiple resources can be specified one per line'
required: false
target-dependents:
description: 'Allows updating of dependent targets discovered but not specified in target.'
required: false
default: 'false'
policyPacks:
description: 'Run one or more policy packs as part of this update.'
required: false
policyPackConfigs:
description: 'Path to JSON file containing the config for the policy pack of the corresponding "--policy-pack" flag.'
required: false
refresh:
description: 'Perform a stack refresh as part of the operation'
required: false
default: 'false'
upsert:
description: 'Create the stack if it currently does not exist'
required: false
default: 'false'
edit-pr-comment:
description: 'Edit previous PR comment instead of posting new one'
required: false
default: 'true'
pulumi-version:
description: 'Install a specific version of the Pulumi CLI'
required: false
default: '^3'
color:
description: 'Colorize output. Choices are: always, never, raw, auto'
required: false
default: 'auto'
outputs:
output:
description: Output from running command
runs:
# TODO upgrade to node16 by 1 Nov 2022.
#
# We will retain node12 requirement 6 months after its EOL (30 Apr
# 2022), unless something forces us to upgrade.
#
# Trying to upgrade in July 2022 broke our users that depend on
# GitHub Enterprise versions < 3.4
using: 'node12'
main: 'dist/index.js'