-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add examples #7
base: master
Are you sure you want to change the base?
Add examples #7
Conversation
Handler: HelloWorld::HelloWorld.Function::FunctionHandler | ||
Runtime: dotnet6 | ||
Layers: | ||
- !Sub "arn:aws:lambda:${AWS::Region}:269863060030:layer:merloc-gatekeeper:16" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
Architectures: | ||
- x86_64 | ||
Layers: | ||
- arn:aws:lambda:eu-west-2:269863060030:layer:merloc-gatekeeper:15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
@@ -0,0 +1,10 @@ | |||
version = 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file? Because it specifies your s3 bucket name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
Architectures: | ||
- x86_64 | ||
Layers: | ||
- arn:aws:lambda:eu-west-2:269863060030:layer:merloc-gatekeeper:15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
@@ -0,0 +1,11 @@ | |||
version = 0.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this file? Because it specifies your s3 bucket name
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
Handler: app.lambda_handler | ||
Runtime: python3.9 | ||
Layers: | ||
- !Sub "arn:aws:lambda:${AWS::Region}:269863060030:layer:merloc-gatekeeper:16" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
Handler: app.lambda_handler | ||
Runtime: python3.9 | ||
Layers: | ||
- !Sub "arn:aws:lambda:${AWS::Region}:269863060030:layer:merloc-gatekeeper:16" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
timeout: 300 | ||
region: us-west-2 | ||
layers: | ||
- arn:aws:lambda:${self:provider.region}:269863060030:layer:merloc-gatekeeper:16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
handler: handler.hello | ||
timeout: 120 | ||
layers: | ||
- "arn:aws:lambda:eu-west-2:269863060030:layer:merloc-gatekeeper:15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
- "arn:aws:lambda:eu-west-2:269863060030:layer:merloc-gatekeeper:15" | ||
environment: | ||
AWS_LAMBDA_EXEC_WRAPPER: /opt/extensions/merloc-gatekeeper-ext/bootstrap | ||
MERLOC_BROKER_URL: wss://23umd9f64e.execute-api.eu-west-2.amazonaws.com/dev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be set by user, we should not use our own broker URL
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed.
@@ -0,0 +1,42 @@ | |||
import type { AWS } from '@serverless/typescript'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file redundant?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed.
handler: src/functions/hello/handler.main | ||
timeout: 120 | ||
layers: | ||
- "arn:aws:lambda:eu-west-2:269863060030:layer:merloc-gatekeeper:15" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
NODE_OPTIONS: "--enable-source-maps --stack-trace-limit=1000" | ||
|
||
plugins: | ||
- serverless-esbuild |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't it be ts plugin? Because serverless local has problems with esbuild
name: aws | ||
runtime: python3.9 | ||
layers: | ||
- arn:aws:lambda:${self:provider.region}:269863060030:layer:merloc-gatekeeper:16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
name: aws | ||
runtime: python3.9 | ||
layers: | ||
- arn:aws:lambda:${self:provider.region}:269863060030:layer:merloc-gatekeeper:16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update layer version to 26
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated.
No description provided.