When you have a fancy ( aka broken? ) serverless.yml the auto-generated names will fail to create unique names. The service name should be part of the generated names.
service: ${self:custom.service}
provider:
stage: v1
custom:
fallback:
env: dev
name: api
env: ${opt:env, self:custom.fallback.env}
service: ${self:custom.env}-${self:custom.name}
When you have a fancy ( aka broken? )
serverless.yml
the auto-generated names will fail to create unique names. The service name should be part of the generated names.