-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathaction.yml
More file actions
70 lines (63 loc) · 2.45 KB
/
action.yml
File metadata and controls
70 lines (63 loc) · 2.45 KB
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
# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: cdk-diff-action
description: The CDK Diff GitHub Action allows you to run CDK diff as part of your CI/CD workflow.
runs:
using: node24
main: dist/index.js
author: Cory Hall
branding:
color: orange
icon: message-square
inputs:
githubToken:
description: github token
required: true
allowedDestroyTypes:
description: Comma delimited list of resource types that are allowed to be destroyed
required: false
default: ""
failOnDestructiveChanges:
description: Whether or not destructive changes should fail the job
required: false
default: "true"
stackSelectorPatterns:
description: |-
Comma delimited list of stack selector patterns. Use this to control which stages/stacks to diff. By default all stages & stacks are diffed
@see https://github.com/aws/aws-cdk-cli/tree/main/packages/%40aws-cdk/toolkit-lib#stack-selection
required: false
default: ""
stackSelectionStrategy:
description: |-
Used in combination with "stackSelectorPatterns" to control which stacks to diff.
Valid values are "all-stacks", "main-assembly", "only-single", "pattern-match",
"pattern-must-match", "pattern-must-match-single"
@default pattern-must-match if "stackSelectorPatterns" is provided, otherwise "all-stacks"
@see https://github.com/aws/aws-cdk-cli/tree/main/packages/%40aws-cdk/toolkit-lib#stack-selection
default: all-stacks
required: false
noFailOnDestructiveChanges:
description: List of stages where breaking changes will not fail the build
required: false
default: ""
cdkOutDir:
description: The location of the CDK output directory
required: false
default: cdk.out
diffMethod:
description: |-
The method to create a stack diff.
Valid values are 'change-set' or 'template-only'.
Use changeset diff for the highest fidelity, including analyze resource replacements.
In this method, diff will use the deploy role instead of the lookup role.
Use template-only diff for a faster, less accurate diff that doesn't require
permissions to create a change-set.
required: false
default: change-set
defaultStageDisplayName:
description: An optional display name for the CDK default stage.
required: false
default: DefaultStage
title:
description: An optional title for each diff comment on the PR.
required: false
default: ""