aws-architect 6.7.138 → 6.7.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -292,7 +292,12 @@ class CloudFormationDeployer {
292
292
  'No updates are to be performed.': true
293
293
  };
294
294
  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 };
296
301
  throw changeSetFailureError;
297
302
  }
298
303
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.7.138",
3
+ "version": "6.7.139",
4
4
  "description": "AWS Architect is a node based tool to configure and deploy AWS-based microservices.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -77,6 +77,6 @@
77
77
  },
78
78
  "homepage": "https://github.com/Authress-Engineering/aws-architect.js#readme",
79
79
  "engines": {
80
- "node": ">=12.20"
80
+ "node": ">=18"
81
81
  }
82
82
  }