@flit/cdk-pipeline 2.0.0 → 2.1.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flit/cdk-pipeline",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "A highly customizable and extensible CI/CD pipeline intended as alternative to CDK's native CodePipeline",
5
5
  "keywords": [
6
6
  "aws",
@@ -143,7 +143,7 @@ export class PipelineSegmentConstructed extends SegmentConstructed {
143
143
  stackName: props.stackName ? props.stackName : props.stack.stackName,
144
144
  account: props.stack.account,
145
145
  region: props.stack.region,
146
- changeSetName: `${props.stack.stackName}Changes`,
146
+ changeSetName: `${this.name}Changes`,
147
147
  adminPermissions: true,
148
148
  templatePath: buildArtifact.atPath(
149
149
  path.join(scope.buildDir, props.stack.templateFile),
@@ -163,7 +163,7 @@ export class PipelineSegmentConstructed extends SegmentConstructed {
163
163
  stackName: props.stackName ? props.stackName : props.stack.stackName,
164
164
  account: props.stack.account,
165
165
  region: props.stack.region,
166
- changeSetName: `${props.stack.stackName}Changes`,
166
+ changeSetName: `${this.name}Changes`,
167
167
  }),
168
168
  ];
169
169
  }
@@ -120,7 +120,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
120
120
  ) {
121
121
  super(scope, id);
122
122
 
123
- this.name = props.stack.stackName;
123
+ this.name = props.stack.node.id;
124
124
 
125
125
  const buildArtifact = props.project
126
126
  ? props.buildOutput || new Artifact()
@@ -208,7 +208,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
208
208
  stackName: props.stackName ? props.stackName : props.stack.stackName,
209
209
  account: props.stack.account,
210
210
  region: props.stack.region,
211
- changeSetName: `${props.stack.stackName}Changes`,
211
+ changeSetName: `${this.name}Changes`,
212
212
  adminPermissions: true,
213
213
  templatePath: (buildArtifact ? buildArtifact : props.input).atPath(
214
214
  path.join(scope.buildDir, props.stack.templateFile),
@@ -234,7 +234,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
234
234
  stackName: props.stackName ? props.stackName : props.stack.stackName,
235
235
  account: props.stack.account,
236
236
  region: props.stack.region,
237
- changeSetName: `${props.stack.stackName}Changes`,
237
+ changeSetName: `${this.name}Changes`,
238
238
  output: props.stackOutput,
239
239
  outputFileName: props.outputFileName
240
240
  ? props.outputFileName