We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4836d commit 1ecc242Copy full SHA for 1ecc242
src/lib/context.ts
@@ -73,7 +73,7 @@ Context.prototype.createInvokeFunctionArn = function() {
73
'aws',
74
'lambda',
75
process.env.AWS_REGION,
76
- Math.round(Math.random() * 1000000000000).toString(),
+ process.env.AWS_ACCOUNT_ID || Math.round(Math.random() * 1000000000000).toString(),
77
'function',
78
this.functionName,
79
this.functionVersion
0 commit comments