Skip to content

Commit c444c81

Browse files
committed
Set correct nodejs validation version.
1 parent 8587cd6 commit c444c81

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

lib/CloudFormationDeployer.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,12 @@ class CloudFormationDeployer {
292292
'No updates are to be performed.': true
293293
};
294294
if (!noUpdatesDict[changeSetResponse.StatusReason]) {
295-
let changeSetFailureError = { title: 'Failed to create changeset', details: changeSetResponse };
295+
let events;
296+
if (changeSetResponse.StatusReason && changeSetResponse.StatusReason.includes('AWS::EarlyValidation::PropertyValidation')) {
297+
events = await this.cloudFormationClient.describeStackEvents({ StackName: options.stackName }).promise();
298+
}
299+
300+
const changeSetFailureError = { title: 'Failed to create changeset, review the stack events', details: changeSetResponse, events };
296301
throw changeSetFailureError;
297302
}
298303

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,6 @@
7777
},
7878
"homepage": "https://github.com/Authress-Engineering/aws-architect.js#readme",
7979
"engines": {
80-
"node": ">=12.20"
80+
"node": ">=18"
8181
}
8282
}

0 commit comments

Comments
 (0)