Hi, I’ve been at it for 3 or 4 days, I’m exhausted and frustrated. While a simple deployment is easy, making a real application looks a little bit of a pain.
Is there a way to create a simple Node.js
app with Express.js
and link my HTTP API created already in AWS + my already created DynamoDB?
In other words, I want to manage my services online using the interface but develop my Lambda offline using serverless. How can I do this? Every time I try it creates a 1000 resources in Cloudformation and also they are new, not the ones I created.
Please some help, this my current serverless.yml:
service: planner-api
# app and org for use with dashboard.serverless.com
app: planner-api
org: username
# You can pin your service to only deploy with a specific Serverless version
frameworkVersion: '2'
provider:
name: aws
runtime: nodejs12.x
lambdaHashingVersion: 20201221
stage: v1
region: us-east-1
stackName: planner # Use a custom name for the CloudFormation stack
functions:
hello:
name: test15
handler: handler.hello
events:
- httpApi:
path: /users/create
method: get