Skip to content

Commit 0f1fa3a

Browse files
author
Michael Kaiser
committed
Update snapshot
1 parent 9eace82 commit 0f1fa3a

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

typescript/ec2-instance-connect-endpoint/src/endpoint.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,17 @@ export class InstanceConnectEndpoint extends Construct {
8787
const onEventHandler = new lambdaPython.PythonFunction(this, 'onEventHandler', {
8888
...commonProps,
8989
handler: 'on_event',
90-
});
90+
bundling: {
91+
user: "1000",
92+
},
93+
});
9194

9295
const isCompleteHandler = new lambdaPython.PythonFunction(this, 'isCompleteHandler', {
9396
...commonProps,
9497
handler: 'is_complete',
98+
bundling: {
99+
user: "1000",
100+
},
95101
});
96102

97103
const provider = new cr.Provider(this, 'Provider', {
@@ -109,4 +115,4 @@ export class InstanceConnectEndpoint extends Construct {
109115
},
110116
});
111117
}
112-
}
118+
}

typescript/ec2-instance-connect-endpoint/test/__snapshots__/integ.default.test.ts.snap

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ exports[`default validation 1`] = `
252252
"S3Bucket": {
253253
"Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}",
254254
},
255-
"S3Key": "8e3d635893ea17fa3158623489cd42c680fad925b38de1ef51cb10d84f6e245e.zip",
255+
"S3Key": "NORMALIZED_ASSET_HASH.zip",
256256
},
257257
"Description": "AWS CDK resource provider framework - isComplete (integ-testing-eicendpoint/EICEndpoint/Provider)",
258258
"Environment": {
@@ -400,7 +400,7 @@ exports[`default validation 1`] = `
400400
"S3Bucket": {
401401
"Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}",
402402
},
403-
"S3Key": "8e3d635893ea17fa3158623489cd42c680fad925b38de1ef51cb10d84f6e245e.zip",
403+
"S3Key": "NORMALIZED_ASSET_HASH.zip",
404404
},
405405
"Description": "AWS CDK resource provider framework - onEvent (integ-testing-eicendpoint/EICEndpoint/Provider)",
406406
"Environment": {
@@ -558,7 +558,7 @@ exports[`default validation 1`] = `
558558
"S3Bucket": {
559559
"Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}",
560560
},
561-
"S3Key": "8e3d635893ea17fa3158623489cd42c680fad925b38de1ef51cb10d84f6e245e.zip",
561+
"S3Key": "NORMALIZED_ASSET_HASH.zip",
562562
},
563563
"Description": "AWS CDK resource provider framework - onTimeout (integ-testing-eicendpoint/EICEndpoint/Provider)",
564564
"Environment": {
@@ -970,7 +970,7 @@ exports[`default validation 1`] = `
970970
"S3Bucket": {
971971
"Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}",
972972
},
973-
"S3Key": "aac3b196628b72a9c085e6ec0f4a578af32bb0dcdc9189b3dbe24aa40e373942.zip",
973+
"S3Key": "NORMALIZED_ASSET_HASH.zip",
974974
},
975975
"Handler": "index.is_complete",
976976
"MemorySize": 256,
@@ -995,7 +995,7 @@ exports[`default validation 1`] = `
995995
"S3Bucket": {
996996
"Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}",
997997
},
998-
"S3Key": "aac3b196628b72a9c085e6ec0f4a578af32bb0dcdc9189b3dbe24aa40e373942.zip",
998+
"S3Key": "NORMALIZED_ASSET_HASH.zip",
999999
},
10001000
"Handler": "index.on_event",
10011001
"MemorySize": 256,

0 commit comments

Comments
 (0)