{"action":"created","issue":{"url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/114","repository_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager","labels_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/114/labels{/name}","comments_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/114/comments","events_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/114/events","html_url":"https://github.com/amplify-education/serverless-domain-manager/issues/114","id":304919800,"node_id":"MDU6SXNzdWUzMDQ5MTk4MDA=","number":114,"title":"Using two serverless.yml and configure the same domain for two distinct services","user":{"login":"celicoo","id":7903844,"node_id":"MDQ6VXNlcjc5MDM4NDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/7903844?v=4","gravatar_id":"","url":"https://api.github.com/users/celicoo","html_url":"https://github.com/celicoo","followers_url":"https://api.github.com/users/celicoo/followers","following_url":"https://api.github.com/users/celicoo/following{/other_user}","gists_url":"https://api.github.com/users/celicoo/gists{/gist_id}","starred_url":"https://api.github.com/users/celicoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/celicoo/subscriptions","organizations_url":"https://api.github.com/users/celicoo/orgs","repos_url":"https://api.github.com/users/celicoo/repos","events_url":"https://api.github.com/users/celicoo/events{/privacy}","received_events_url":"https://api.github.com/users/celicoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-13T20:17:40Z","updated_at":"2018-11-28T09:46:08Z","closed_at":"2018-07-24T20:07:13Z","author_association":"NONE","body":"Is it possible to configure the same domain for two distinct services? I'm using Go, and it's a lot better to separe the folders in services, e.g:\r\n\r\n```\r\n| extractions/\r\n| - serverless.yml\r\n| exports/\r\n| - serverless.yml\r\n| etc...\r\n```\r\n\r\nAnd I'm using the following configuration in both:\r\n\r\nextractions:\r\n```\r\n  service: api\r\n  custom:\r\n    domainName:\r\n      development: ${self:service}-development.garimpo.io\r\n      production: ${self:service}.garimpo.io\r\n    customDomain:\r\n      domainName: ${self:custom.domainName.${opt:stage, self:provider.stage}}\r\n      stage: ${opt:stage, self:provider.stage}\r\n      basePath: v1/extractions\r\n      createRoute53Record: true\r\n      endpointType: regional\r\n```\r\n\r\nexports:\r\n```\r\n  service: api\r\n  custom:\r\n    domainName:\r\n      development: ${self:service}-development.garimpo.io\r\n      production: ${self:service}.garimpo.io\r\n    customDomain:\r\n      domainName: ${self:custom.domainName.${opt:stage, self:provider.stage}}\r\n      stage: ${opt:stage, self:provider.stage}\r\n      basePath: v1/exports\r\n      createRoute53Record: true\r\n      endpointType: regional\r\n```\r\n\r\nCurrently is not working, since the `Target Domain Name` will be different for each service. Is there a workaround? Or do I need create a subdomain for each one of my services?\r\n\r\nThank you."},"comment":{"url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/comments/442384509","html_url":"https://github.com/amplify-education/serverless-domain-manager/issues/114#issuecomment-442384509","issue_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/114","id":442384509,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjM4NDUwOQ==","user":{"login":"staslev","id":6048315,"node_id":"MDQ6VXNlcjYwNDgzMTU=","avatar_url":"https://avatars1.githubusercontent.com/u/6048315?v=4","gravatar_id":"","url":"https://api.github.com/users/staslev","html_url":"https://github.com/staslev","followers_url":"https://api.github.com/users/staslev/followers","following_url":"https://api.github.com/users/staslev/following{/other_user}","gists_url":"https://api.github.com/users/staslev/gists{/gist_id}","starred_url":"https://api.github.com/users/staslev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/staslev/subscriptions","organizations_url":"https://api.github.com/users/staslev/orgs","repos_url":"https://api.github.com/users/staslev/repos","events_url":"https://api.github.com/users/staslev/events{/privacy}","received_events_url":"https://api.github.com/users/staslev/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T09:46:08Z","updated_at":"2018-11-28T09:46:08Z","author_association":"NONE","body":"@mkondel @celicoo, this seems to be possible now - see #151 for more info."}}
{"actor":{"display_login":"staslev"}}