Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export async function deployStack(
RoleARN: params.RoleARN,
RollbackConfiguration: params.RollbackConfiguration,
NotificationARNs: params.NotificationARNs,
IncludeNestedStacks: params.IncludeNestedStacksChangeSet,
Tags: params.Tags
}
},
Expand Down
10 changes: 9 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import { NodeHttpHandler } from '@smithy/node-http-handler'
// Validated by core.getInput() which throws if not set
export type CreateStackInputWithName = CreateStackCommandInput & {
StackName: string
IncludeNestedStacksChangeSet?: boolean
}

export type CreateChangeSetInput = CreateChangeSetCommandInput
Expand Down Expand Up @@ -105,6 +106,12 @@ export async function run(): Promise<void> {
required: false
})
)
const includeNestedStacksChangeSet = !!+core.getInput(
'include-nested-stacks-change-set',
{
required: false
}
)

// Configures proxy
const agent = configureProxy(httpProxy)
Expand Down Expand Up @@ -148,7 +155,8 @@ export async function run(): Promise<void> {
TemplateBody: templateBody,
TemplateURL: templateUrl,
Tags: tags,
EnableTerminationProtection: terminationProtections
EnableTerminationProtection: terminationProtections,
IncludeNestedStacksChangeSet: includeNestedStacksChangeSet
}

if (parameterOverrides) {
Expand Down