aws-architect 6.7.136 → 6.7.138
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.
|
@@ -351,7 +351,7 @@ class CloudFormationDeployer {
|
|
|
351
351
|
InnerStack: {
|
|
352
352
|
Type: 'AWS::CloudFormation::Stack',
|
|
353
353
|
Properties: {
|
|
354
|
-
Parameters: parameters,
|
|
354
|
+
Parameters: parameters || {},
|
|
355
355
|
Tags: options.tags ? Object.keys(options.tags).map(t => ({ Key: t, Value: options.tags[t] })) : undefined,
|
|
356
356
|
TemplateURL: `https://s3.amazonaws.com/${this.deploymentBucket}/${templateUrl}`,
|
|
357
357
|
TimeoutInMinutes: 180
|
|
@@ -498,7 +498,8 @@ class CloudFormationDeployer {
|
|
|
498
498
|
PermissionModel: 'SERVICE_MANAGED',
|
|
499
499
|
Capabilities: ['CAPABILITY_IAM', 'CAPABILITY_NAMED_IAM', 'CAPABILITY_AUTO_EXPAND'],
|
|
500
500
|
Tags: options.tags ? Object.keys(options.tags).map(t => ({ Key: t, Value: options.tags[t] })) : undefined,
|
|
501
|
-
TemplateBody: templateString
|
|
501
|
+
TemplateBody: templateString,
|
|
502
|
+
Parameters: Object.keys(parameters || {}).map(p => ({ ParameterKey: p, ParameterValue: parameters[p] }))
|
|
502
503
|
};
|
|
503
504
|
|
|
504
505
|
const stackExists = await this.stackSetExists(options.stackSetName);
|