@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/.jsii +2 -2
- package/dist/artifact.js +1 -1
- package/dist/code-commit-source-segment.js +2 -2
- package/dist/code-star-source-segment.js +2 -2
- package/dist/git-hub-source-segment.js +2 -2
- package/dist/pipeline-segment.js +5 -5
- package/dist/pipeline.js +1 -1
- package/dist/publish-assets-action.js +1 -1
- package/dist/s3-source-segment.js +2 -2
- package/dist/segment.js +2 -2
- package/dist/source-segment.js +1 -1
- package/dist/stack-segment.js +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/pipeline-segment.ts +2 -2
- package/src/stack-segment.ts +3 -3
package/package.json
CHANGED
package/src/pipeline-segment.ts
CHANGED
|
@@ -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: `${
|
|
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: `${
|
|
166
|
+
changeSetName: `${this.name}Changes`,
|
|
167
167
|
}),
|
|
168
168
|
];
|
|
169
169
|
}
|
package/src/stack-segment.ts
CHANGED
|
@@ -120,7 +120,7 @@ export class StackSegmentConstructed extends SegmentConstructed {
|
|
|
120
120
|
) {
|
|
121
121
|
super(scope, id);
|
|
122
122
|
|
|
123
|
-
this.name = props.stack.
|
|
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: `${
|
|
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: `${
|
|
237
|
+
changeSetName: `${this.name}Changes`,
|
|
238
238
|
output: props.stackOutput,
|
|
239
239
|
outputFileName: props.outputFileName
|
|
240
240
|
? props.outputFileName
|