Skip to content

Commit d831b7d

Browse files
committed
fix: typo
1 parent 5c8e02e commit d831b7d

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

layers/src/layer-publisher-stack.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { StringParameter } from 'aws-cdk-lib/aws-ssm';
1111
export interface LayerPublisherStackProps extends StackProps {
1212
readonly layerName?: string;
1313
readonly powertoolsPackageVersion?: string;
14-
readonly ssmParameterLayerName: string;
14+
readonly ssmParameterLayerArn: string;
1515
}
1616

1717
export class LayerPublisherStack extends Stack {

layers/tests/e2e/layerPublisher.class.test.functionCode.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const handler = (): void => {
3535

3636
// Check that the tracer is working
3737
const segment = tracer.getSegment();
38+
if (!segment) throw new Error('Segment not found');
3839
const handlerSegment = segment.addNewSubsegment('### index.handler');
3940
tracer.setSegment(handlerSegment);
4041
tracer.annotateColdStart();

layers/tests/e2e/layerPublisher.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe(`Layers E2E tests, publisher stack`, () => {
5555
resourceName: 'layer',
5656
}),
5757
powertoolsPackageVersion: powerToolsPackageVersion,
58-
ssmParameterLayerName,
58+
ssmParameterLayerArn: ssmParameterLayerName,
5959
}
6060
);
6161
const testLayerStack = new TestStack({

0 commit comments

Comments
 (0)