Skip to content

Commit 69bb97f

Browse files
authored
fix: use resourcePrefix to workaround CdkPipeline very large stack names (#6)
1 parent 73ddfcf commit 69bb97f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export class JumpBox extends Construct {
8181
this.keyPair = new KeyPair(this, 'KeyPair', {
8282
name: id.pascal,
8383
kms: props.kmsKey,
84+
resourcePrefix: 'x', // https://github.com/udondan/cdk-ec2-key-pair/issues/53
8485
storePublicKey: true,
8586
});
8687
} else {

0 commit comments

Comments
 (0)