# Enabled with regional endpoint and empty basepath
service: enabled-regional-empty-basepath
provider:
  name: aws
  runtime: nodejs6.10
  region: us-west-2
functions:
  helloWorld:
    handler: handler.helloWorld
    events:
      - http:
          path: hello-world
          method: get
          cors: true
plugins:
  - serverless-domain-manager
custom:
  customDomain:
    domainName: enabled-regional-empty-basepath-${opt:RANDOM_STRING}.${env:TEST_DOMAIN}
    basePath: ''
    endpointType: regional
