Skip to content

failed to find a stack error #610

@0xNarumi

Description

@0xNarumi

Support Question

Question

I can't figure out what is causing failed to find a stack error

Plus, when I successfully deployed with rest apiType option,
I got {"message":"Missing Authentication Token"} response

Command Run
sls create_domain and sls deploy

Console Output

Error: Failed to find a stack <project name>

    at CloudFormationWrapper.<anonymous>

Domain Manager Configuration
Replace this with your own serverless.yml file (anonymized, of course) to help us better resolve your issue.

 customDomain:
    basePath: ''
    domainName: ${self:custom.domains.${self:provider.stage}}
    securityPolicy: tls_1_2
    certificateName: '*.domain.im'
    stage: ${self:provider.stage}
    createRoute53Record: true
    endpointType: REGIONAL
    apiType: http
 customDomain:
    basePath: ''
    domainName: ${self:custom.domains.${self:provider.stage}}
    securityPolicy: tls_1_2
    certificateName: '*.domain.im'
    stage: ${self:provider.stage}
    createRoute53Record: true
    endpointType: REGIONAL
    apiType: rest

first yml config didn't work but the second did.
why can't apiType http find a stack?

FYI, this is my lambda function config.

functions:
  api:
    handler: src/index.handler
    events:
      - http:
          path: '{proxy+}'
          method: any
    timeout: 30

Versions

  • Domain Manager version(s): 7.3.3
  • Serverless Version: Framework Core: 3.38.0
  • Lambda Code : Javascript

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions