File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,8 @@ export async function deployStack(
152152 changeSetName : string ,
153153 noEmptyChangeSet : boolean ,
154154 noExecuteChangeSet : boolean ,
155- noDeleteFailedChangeSet : boolean
155+ noDeleteFailedChangeSet : boolean ,
156+ includeNestedStacksChangeSet : boolean = false
156157) : Promise < string | undefined > {
157158 const stack = await getStack ( cfn , params . StackName )
158159
@@ -202,6 +203,7 @@ export async function deployStack(
202203 RoleARN : params . RoleARN ,
203204 RollbackConfiguration : params . RollbackConfiguration ,
204205 NotificationARNs : params . NotificationARNs ,
206+ IncludeNestedStacks : params . IncludeNestedStacks ,
205207 Tags : params . Tags
206208 }
207209 } ,
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import { NodeHttpHandler } from '@smithy/node-http-handler'
2222// Validated by core.getInput() which throws if not set
2323export type CreateStackInputWithName = CreateStackCommandInput & {
2424 StackName : string
25+ IncludeNestedStacksChangeSet ?: boolean
2526}
2627
2728export type CreateChangeSetInput = CreateChangeSetCommandInput
@@ -105,6 +106,9 @@ export async function run(): Promise<void> {
105106 required : false
106107 } )
107108 )
109+ const includeNestedStacksChangeSet = ! ! + core . getInput ( 'include-nested-stacks-change-set' , {
110+ required : false
111+ } )
108112
109113 // Configures proxy
110114 const agent = configureProxy ( httpProxy )
@@ -148,7 +152,8 @@ export async function run(): Promise<void> {
148152 TemplateBody : templateBody ,
149153 TemplateURL : templateUrl ,
150154 Tags : tags ,
151- EnableTerminationProtection : terminationProtections
155+ EnableTerminationProtection : terminationProtections ,
156+ IncludeNestedStacksChangeSet : includeNestedStacksChangeSet
152157 }
153158
154159 if ( parameterOverrides ) {
You can’t perform that action at this time.
0 commit comments