{"action":"created","issue":{"url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/177","repository_url":"https://api.github.com/repos/widdix/aws-cf-templates","labels_url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/177/comments","events_url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/177/events","html_url":"https://github.com/widdix/aws-cf-templates/issues/177","id":334323006,"node_id":"MDU6SXNzdWUzMzQzMjMwMDY=","number":177,"title":"[ECS] Hosted Zone Stack need to be in the same region","user":{"login":"jrbenito","id":129570,"node_id":"MDQ6VXNlcjEyOTU3MA==","avatar_url":"https://avatars3.githubusercontent.com/u/129570?v=4","gravatar_id":"","url":"https://api.github.com/users/jrbenito","html_url":"https://github.com/jrbenito","followers_url":"https://api.github.com/users/jrbenito/followers","following_url":"https://api.github.com/users/jrbenito/following{/other_user}","gists_url":"https://api.github.com/users/jrbenito/gists{/gist_id}","starred_url":"https://api.github.com/users/jrbenito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrbenito/subscriptions","organizations_url":"https://api.github.com/users/jrbenito/orgs","repos_url":"https://api.github.com/users/jrbenito/repos","events_url":"https://api.github.com/users/jrbenito/events{/privacy}","received_events_url":"https://api.github.com/users/jrbenito/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T03:19:05Z","updated_at":"2018-06-21T06:32:52Z","closed_at":null,"author_association":"NONE","body":"hi,\r\n\r\nIn the service templates if Hosted Zone Stack is used it need to exist in the same aws region. This could be a issue if \"someone.io\" is registered by zone stack in AWS region us-east-1 but for some reason, someone need ECS clusters in sa-east-1 and us-west-1 and, for instance, a service in us-west-1 needs to register a DNS as \"service-for-west.someone.com\", similarly, a task in ecs cluser sa-east-1 would regiser \"another-service-in-brazil.someone.com\". \r\n\r\nI don't know if it is a AWS limitation in regard getting cross zone paramenter but maybe this could be solved using ARN?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/comments/398991582","html_url":"https://github.com/widdix/aws-cf-templates/issues/177#issuecomment-398991582","issue_url":"https://api.github.com/repos/widdix/aws-cf-templates/issues/177","id":398991582,"node_id":"MDEyOklzc3VlQ29tbWVudDM5ODk5MTU4Mg==","user":{"login":"michaelwittig","id":950078,"node_id":"MDQ6VXNlcjk1MDA3OA==","avatar_url":"https://avatars3.githubusercontent.com/u/950078?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelwittig","html_url":"https://github.com/michaelwittig","followers_url":"https://api.github.com/users/michaelwittig/followers","following_url":"https://api.github.com/users/michaelwittig/following{/other_user}","gists_url":"https://api.github.com/users/michaelwittig/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelwittig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelwittig/subscriptions","organizations_url":"https://api.github.com/users/michaelwittig/orgs","repos_url":"https://api.github.com/users/michaelwittig/repos","events_url":"https://api.github.com/users/michaelwittig/events{/privacy}","received_events_url":"https://api.github.com/users/michaelwittig/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T06:32:52Z","updated_at":"2018-06-21T06:32:52Z","author_association":"CONTRIBUTOR","body":"Hi @jrbenito \r\n\r\nRoute53 is global but CloudFormation (we rely on the exports here) are regional.\r\n\r\nYou can try the following:\r\n1. in sa-east-1, create a stack based on https://github.com/widdix/aws-cf-templates/blob/master/vpc/zone-legacy.yaml using the values from the zone stack in us-east-1\r\n2. create the ecs cluster using the zone-legacy stack name as the `ParentZoneStack`\r\n\r\nLet me know if this works."}}
{"actor":{"display_login":"michaelwittig"}}