Skip to content

Commit

Permalink
(chore) updating dist
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Nov 4, 2023
1 parent 88b9bff commit 7110e3d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,23 @@ function deployStack(cfn, params, noEmptyChangeSet, noExecuteChangeSet, noDelete
const stack = yield getStack(cfn, params.StackName);
if (!stack) {
core.debug(`Creating CloudFormation Stack`);
const stack = yield cfn.createStack(params).promise();
const stack = yield cfn
.createStack({
StackName: params.StackName,
TemplateBody: params.TemplateBody,
TemplateURL: params.TemplateURL,
Parameters: params.Parameters,
Capabilities: params.Capabilities,
ResourceTypes: params.ResourceTypes,
RoleARN: params.RoleARN,
RollbackConfiguration: params.RollbackConfiguration,
NotificationARNs: params.NotificationARNs,
DisableRollback: params.DisableRollback,
Tags: params.Tags,
TimeoutInMinutes: params.TimeoutInMinutes,
EnableTerminationProtection: params.EnableTerminationProtection
})
.promise();
yield cfn
.waitFor('stackCreateComplete', { StackName: params.StackName })
.promise();
Expand Down

0 comments on commit 7110e3d

Please sign in to comment.