aws-architect 6.7.123 → 6.7.124
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.
|
@@ -377,7 +377,7 @@ class CloudFormationDeployer {
|
|
|
377
377
|
const newRegions = options.regions.filter(r => !existingRegions.some(e => e === r));
|
|
378
378
|
|
|
379
379
|
// If the stack already existed, and there are no new regions, all the stacks are updated then check to see if the template matches the new template
|
|
380
|
-
if (stackExists && !newRegions && existingStacks.every(s => s.Status === 'CURRENT')) {
|
|
380
|
+
if (stackExists && !newRegions.length && existingStacks.every(s => s.Status === 'CURRENT')) {
|
|
381
381
|
const regionStacks = await this.cloudFormationClient.listStacks({ StackStatusFilter: ['CONFIGURATION_COMPLETE', 'CREATE_COMPLETE', 'UPDATE_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE'] }).promise()
|
|
382
382
|
.then(r => r.StackSummaries);
|
|
383
383
|
|