aws-architect 6.7.83 → 6.7.86

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.
@@ -132,7 +132,7 @@ class CloudFormationDeployer {
132
132
  UPDATE_ROLLBACK_FAILED: true,
133
133
  ROLLBACK_FAILED: true
134
134
  };
135
- const mappedResults = eventsResponse.StackEvents.filter(event => failureStackEventStatuses[event.ResourceStatus]).map(result => ({
135
+ const mappedResults = eventsResponse.StackEvents.filter(event => new Date(Date.now() - 1000 * 600) < event.Timestamp && failureStackEventStatuses[event.ResourceStatus]).map(result => ({
136
136
  cloudFormationResourceName: result.LogicalResourceId, awsResourceId: result.PhysicalResourceId, error: result.ResourceStatusReason
137
137
  }));
138
138
  console.error('Stack status indicates failure because of the following events: ', mappedResults);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aws-architect",
3
- "version": "6.7.83",
3
+ "version": "6.7.86",
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",