v1 API Gateway endpoints not getting printed out to the console
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- aws, javascript
Research direction
Start with the serverless.yml example and reproduce deployment to the local stage through LocalStack, comparing its output with the AWS deployment output. Trace the deployment output handling for API Gateway routes; done means the local deployment prints the GET and POST endpoint URLs corresponding to the configured routes.
Written by the indexing model from the issue text.
Description
In serverless.yml:
functions:
index:
handler: index.handler
events:
- http:
path: /
method: get
upload-link:
handler: src/functions/uploadLink.handler
events:
- http:
path: /upload-link
method: post
download-file:
handler: src/functions/downloadFile.handler
events:
- http:
path: /download-file/{fileLinkUlid}
method: get
When I deploy to AWS:
endpoints:
GET - https://6a9876os1c.execute-api.us-east-1.amazonaws.com/k3/
POST - https://6a9876os1c.execute-api.us-east-1.amazonaws.com/k3/upload-link
GET - https://6a9876os1c.execute-api.us-east-1.amazonaws.com/k3/download-file/{fileLinkUlid}
functions:
index: service-k3-index (55 MB)
upload-link: service-k3-upload-link (55 MB)
download-file: service-k3-download-file (55 MB)
When I deploy to the local stage using Localstack:
Deploying service to stage local (us-east-1)
Using serverless-localstack
Using serverless-localstack
serverless-localstack: Reconfigured endpoints
serverless-localstack: Reconfigured endpoints
Skip plugin function AwsCompileFunctions.downloadPackageArtifacts (lambda.mountCode flag is enabled)
Skip plugin function AwsDeploy.extendedValidate (lambda.mountCode flag is enabled)
Skipping template validation: Unsupported in Localstack
✔ Service deployed to stack service-local (21s)
endpoint: http://localhost:4566/restapis/tbwgi0iega/local/_user_request_
functions:
index: service-local-index (31 kB)
upload-link: service-local-upload-link (31 kB)
download-file: service-local-download-file (31 kB)
- Dominant language
- JavaScript
- Stars
- 542
- Forks
- 92
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from localstack/serverless-localstack
-
Difficulty 1/5 Under an hour Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
-
aws:apigateway status: backlog
Difficulty 4/5 3-5 days Newbie friendliness 35/100
localstack/serverless-localstack#270 · 3 reactions ·
All issues in localstack/serverless-localstack
Similar issues
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllTheMods/ATM-10-L#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SignalK/n2k-signalk#345 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
JuliaPluto/PlutoPlotly.jl#72 ·