Replies: 3 comments 6 replies
-
Moved to discussions, as it's more a usage support enquiry and not a bug report. |
Beta Was this translation helpful? Give feedback.
0 replies
-
You need to have a bootstrap binary in order for this to work. The easiest method would be to use the serverless-go-plugin. With that you can do something like this: service: example
frameworkVersion: '3'
provider:
name: aws
runtime: provided.al2
memorySize: 128
stage: ${opt:stage, 'dev'}
region: ${opt:region, 'us-west-2'}
plugins:
- serverless-go-plugin
custom:
go:
supportedRuntimes: ["provided.al2"]
buildProvidedRuntimeAsBootstrap: true
functions:
exampleFunction1:
handler: functions/exampleFunction1/main.go |
Beta Was this translation helpful? Give feedback.
0 replies
-
@G-OD following the example above I managed to deploy but when I execute the lambda I get:
As mentioned here I noticed that the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are you certain it's a bug?
Is the issue caused by a plugin?
Are you using the latest v3 release?
Is there an existing issue for this?
Issue description
I'm getting
Couldn't find valid bootstrap(s): [/var/task/bootstrap /opt/bootstrap]
error when usingprovided.al2
. How do I configure the functions exactly?Service configuration (serverless.yml) content
Command name and used flags
N/A
Command output
Environment information
Beta Was this translation helpful? Give feedback.
All reactions