Skip to content

API gateway not being created #204

Open
@nitro78

Description

@nitro78

I've read that an API gateway should be automatically created on deploy, but that isn't happening.
Am I missing something?

service: invoices-api
frameworkVersion: '3'

provider:
name: aws
runtime: nodejs14.x
stage: test
region: eu-west-1

custom:
apiGatewayServiceProxies:
eventbridge:
path: /invoice
method: post
source: 'hardcoded_source'
detailType: 'hardcoded_detailType'
eventBusName: { Ref: 'YourBusName' }

resources:
Resources:
YourBus:
Type: AWS::Events::EventBus
Properties:
Name: Default

plugins:

  • serverless-apigateway-service-proxy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions