aws-architect 6.7.124 → 6.7.127
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.
|
@@ -336,6 +336,7 @@ class CloudFormationDeployer {
|
|
|
336
336
|
InnerStack: {
|
|
337
337
|
Type: 'AWS::CloudFormation::Stack',
|
|
338
338
|
Properties: {
|
|
339
|
+
StackName: `${options.stackSetName}-INNER`,
|
|
339
340
|
Parameters: parameters,
|
|
340
341
|
Tags: options.tags ? Object.keys(options.tags).map(t => ({ Key: t, Value: options.tags[t] })) : undefined,
|
|
341
342
|
TemplateURL: `https://s3.amazonaws.com/${this.deploymentBucket}/${templateUrl}`,
|
|
@@ -378,7 +379,7 @@ class CloudFormationDeployer {
|
|
|
378
379
|
|
|
379
380
|
// 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
381
|
if (stackExists && !newRegions.length && existingStacks.every(s => s.Status === 'CURRENT')) {
|
|
381
|
-
const regionStacks = await this.cloudFormationClient.listStacks({ StackStatusFilter: ['
|
|
382
|
+
const regionStacks = await this.cloudFormationClient.listStacks({ StackStatusFilter: ['CREATE_COMPLETE', 'UPDATE_COMPLETE', 'UPDATE_ROLLBACK_COMPLETE'] }).promise()
|
|
382
383
|
.then(r => r.StackSummaries);
|
|
383
384
|
|
|
384
385
|
const thisRegionsStackId = existingStacks.find(s => s.Region === this.cloudFormationClient.config.region).StackId;
|