Home > OS >  Serveless not deploying to AWS
Serveless not deploying to AWS

Time:09-04

I'm new to Serverless and lambdas

I'm trying to deploy my serverless functions to AWS but it's showing this error:

enter image description here

This is my serverless.yml file:

service: aws-node-http-api-project
frameworkVersion: "3"

provider:
  name: aws
  runtime: nodejs12.x
  region: ap-southeast-1

functions:
  hello:
    handler: handler.hello
    events:
      - httpApi:
          path: /
          method: get

I have set the AWS CLI and IAM user.

Not sure if this is related, but in my CloudFormation, it is showing one stack: enter image description here

CodePudding user response:

The stack was created, but the changeset failed to execute and hence the stack is stuck at the REVIEW_IN_PROGRESS state.

  1. Find out why the changeset wasn't executed and fix it.
  2. Delete the stack and redeploy.
  • Related