## Instal ## ## run : ./node_modules/.bin/sls plugin install --name serverless-domain-manager --config ./lib/seed/serverless-domains.yaml ## run : SLS_DEBUG=* ./node_modules/.bin/sls create_domain --config ./lib/seed/serverless-domains.yaml --aws-profile awsProfile ## SLS_DEBUG=* ./node_modules/.bin/sls delete_domain --config ./lib/seed/serverless-domains.yaml --aws-profile awsProfile domains: production: api.work-in-flex.com staging: staging-api.work-in-flex.com dev: dev-api.work-in-flex.com dev-v2: dev-v2-api.work-in-flex.com customDomain: basePath: '${self:service}' domainName: ${self:custom.domains.${self:custom.stage}} stage: '${self:custom.stage}' createRoute53Record: true certificateName: work-in-flex.com certificateArn: arn:aws:acm:us-east-1:555646219416:certificate/07e83105-1554-4e3d-b968-0a34d77911ad endpointType: 'edge' securityPolicy: tls_1_2