{"action":"opened","issue":{"url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/119","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/119/labels{/name}","comments_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/119/comments","events_url":"https://api.github.com/repos/amplify-education/serverless-domain-manager/issues/119/events","html_url":"https://github.com/amplify-education/serverless-domain-manager/issues/119","id":308398032,"number":119,"title":"Using the custom domain plugin doesn't work for first deployments","user":{"login":"callum-p","id":7827942,"avatar_url":"https://avatars2.githubusercontent.com/u/7827942?v=4","gravatar_id":"","url":"https://api.github.com/users/callum-p","html_url":"https://github.com/callum-p","followers_url":"https://api.github.com/users/callum-p/followers","following_url":"https://api.github.com/users/callum-p/following{/other_user}","gists_url":"https://api.github.com/users/callum-p/gists{/gist_id}","starred_url":"https://api.github.com/users/callum-p/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callum-p/subscriptions","organizations_url":"https://api.github.com/users/callum-p/orgs","repos_url":"https://api.github.com/users/callum-p/repos","events_url":"https://api.github.com/users/callum-p/events{/privacy}","received_events_url":"https://api.github.com/users/callum-p/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-25T23:49:20Z","updated_at":"2018-03-25T23:49:20Z","closed_at":null,"author_association":"NONE","body":"Scenario:\r\n- First deployment\r\n- Run `sls create_domain --stage $ENV_TYPE`\r\n- Run `sls deploy --stage $ENV_TYPE`\r\n\r\nSeems like it's trying to find CFN resources but they haven't been created yet.\r\n\r\n```+ sls create_domain --stage dev\r\nServerless: Selected specific hostedZoneId XXX\r\nServerless: Selected specific hostedZoneId XXX\r\nServerless: 'xx-report-dev.xx.xx' was created/updated. New domains may take up to 40 minutes to be initialized.\r\n+ sls deploy --stage dev\r\nServerless: Packaging service...\r\nServerless: Selected specific hostedZoneId XXX\r\n \r\n  Error --------------------------------------------------\r\n \r\n  Error: Could not set up basepath mapping. Try running sls create_domain first.\r\nError: Cannot find AWS::ApiGateway::Deployment\r\n \r\n     For debugging logs, run again after setting the \"SLS_DEBUG=*\" environment variable.\r\n \r\n  Get Support --------------------------------------------\r\n     Docs:          docs.serverless.com\r\n     Bugs:          github.com/serverless/serverless/issues\r\n     Forums:        forum.serverless.com\r\n     Chat:          gitter.im/serverless/serverless\r\n \r\n  Your Environment Information -----------------------------\r\n     OS:                     linux\r\n     Node Version:           8.10.0\r\n     Serverless Version:     1.26.1```"}}
{"actor":{"display_login":"callum-p"}}