{"action":"created","issue":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/121","repository_url":"https://api.github.com/repos/zalando-stups/senza","labels_url":"https://api.github.com/repos/zalando-stups/senza/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/senza/issues/121/comments","events_url":"https://api.github.com/repos/zalando-stups/senza/issues/121/events","html_url":"https://github.com/zalando-stups/senza/issues/121","id":108643509,"number":121,"title":"Add an option (flag) to specify which domain should be used with senza create","user":{"login":"angeldimitrov","id":1529969,"avatar_url":"https://avatars.githubusercontent.com/u/1529969?v=3","gravatar_id":"","url":"https://api.github.com/users/angeldimitrov","html_url":"https://github.com/angeldimitrov","followers_url":"https://api.github.com/users/angeldimitrov/followers","following_url":"https://api.github.com/users/angeldimitrov/following{/other_user}","gists_url":"https://api.github.com/users/angeldimitrov/gists{/gist_id}","starred_url":"https://api.github.com/users/angeldimitrov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angeldimitrov/subscriptions","organizations_url":"https://api.github.com/users/angeldimitrov/orgs","repos_url":"https://api.github.com/users/angeldimitrov/repos","events_url":"https://api.github.com/users/angeldimitrov/events{/privacy}","received_events_url":"https://api.github.com/users/angeldimitrov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2015-09-28T11:58:20Z","updated_at":"2016-09-07T06:53:24Z","closed_at":"2015-10-16T08:39:08Z","body":"In case there are more than one domain associated with an account, senza shows the following dialog:\r\n```bash\r\nsenza create senza.yml v1 v1\r\nGenerating Cloud Formation template..Please select the domain\r\n1) domain one\r\n2) domain two\r\n```\r\nThis change was introduced with https://github.com/zalando-stups/senza/commit/a299d2df565700ed864789928d59ad8bc7ce9755\r\n\r\nSince we use senza thru our CD it will be good to have a flag to specify which domain should be used to prevent the dialog. "},"comment":{"url":"https://api.github.com/repos/zalando-stups/senza/issues/comments/245191541","html_url":"https://github.com/zalando-stups/senza/issues/121#issuecomment-245191541","issue_url":"https://api.github.com/repos/zalando-stups/senza/issues/121","id":245191541,"user":{"login":"kenden","id":480586,"avatar_url":"https://avatars.githubusercontent.com/u/480586?v=3","gravatar_id":"","url":"https://api.github.com/users/kenden","html_url":"https://github.com/kenden","followers_url":"https://api.github.com/users/kenden/followers","following_url":"https://api.github.com/users/kenden/following{/other_user}","gists_url":"https://api.github.com/users/kenden/gists{/gist_id}","starred_url":"https://api.github.com/users/kenden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenden/subscriptions","organizations_url":"https://api.github.com/users/kenden/orgs","repos_url":"https://api.github.com/users/kenden/repos","events_url":"https://api.github.com/users/kenden/events{/privacy}","received_events_url":"https://api.github.com/users/kenden/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T06:53:24Z","updated_at":"2016-09-07T06:53:24Z","body":"Just a note if you get this issue without using Senza's own `AppLoadBalancer` but just \"pure yaml Cloudformation\":\r\nthen `\"{{AccountInfo.Domain}}\"` cannot be used. \r\nJust hardcode the domain in the template or use a template pamameter.\r\nEx:\r\n```\r\n  Route53:\r\n    Type: \"AWS::Route53::RecordSetGroup\"\r\n    Properties:\r\n      HostedZoneName: mycompany.net # cannot use \"{{AccountInfo.Domain}}\" here\r\n      Comment: \"Nope\"\r\n      RecordSets:\r\n        -\r\n          Name:\r\n            Fn::Join:\r\n              - \"\"\r\n              -\r\n                - \"{{Arguments.Route53Name}}\"\r\n                - \".\"\r\n                - \"mycompany.net\" # cannot use \"{{AccountInfo.Domain}}\" here\r\n          Type: \"A\"\r\n          AliasTarget:\r\n            DNSName:\r\n              Fn::Join:\r\n                - \"\"\r\n                -\r\n                  - \"dualstack.\"  # to support both IPV6 and IPV4\r\n                  - Fn::GetAtt: [ELB, DNSName]\r\n\r\n            EvaluateTargetHealth: false\r\n            HostedZoneId:\r\n              Fn::GetAtt: [ELB, CanonicalHostedZoneNameID]\r\n```"}}
{"actor":{"display_login":"kenden"}}