aws-architect 6.7.85 → 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);
|