{"action":"created","issue":{"url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/211","repository_url":"https://api.github.com/repos/aws/amazon-ecs-cli","labels_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/211/comments","events_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/211/events","html_url":"https://github.com/aws/amazon-ecs-cli/pull/211","id":209781210,"number":211,"title":"AWS ELB-ALB support","user":{"login":"victorcoder","id":47026,"avatar_url":"https://avatars3.githubusercontent.com/u/47026?v=3","gravatar_id":"","url":"https://api.github.com/users/victorcoder","html_url":"https://github.com/victorcoder","followers_url":"https://api.github.com/users/victorcoder/followers","following_url":"https://api.github.com/users/victorcoder/following{/other_user}","gists_url":"https://api.github.com/users/victorcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/victorcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorcoder/subscriptions","organizations_url":"https://api.github.com/users/victorcoder/orgs","repos_url":"https://api.github.com/users/victorcoder/repos","events_url":"https://api.github.com/users/victorcoder/events{/privacy}","received_events_url":"https://api.github.com/users/victorcoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-02-23T14:45:52Z","updated_at":"2017-03-23T21:37:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aws/amazon-ecs-cli/pulls/211","html_url":"https://github.com/aws/amazon-ecs-cli/pull/211","diff_url":"https://github.com/aws/amazon-ecs-cli/pull/211.diff","patch_url":"https://github.com/aws/amazon-ecs-cli/pull/211.patch"},"body":"We want to be able to create a new service and assign it an Application Load Balancer.\r\n\r\nAdd 5 new params that allows to specify the Load Balancer details in order for the service to be created with an associated ELB/ALB.\r\n\r\nSpecify the Target Group ARN, Load Balancer Name, Container Name, Container Port and Role to allow the service to register new instances in the ELB/ALB.\r\n\r\n* `--target-group-arn`: The full Amazon Resource Name (ARN) of the Elastic Load Balancing target  group associated with a service.\r\n* `--load-balancer-name`: The name of the classic load balancer.\r\n* `--container-name`: The name of the container (as it appears in a container definition) to associate with the load balancer.\r\n* `--container-port`: The port on the container to associate with the load balancer. This port must correspond to a containerPort in the service's task definition. Your container instances must allow ingress traffic on the hostPort of the port mapping.\r\n* `--role`: The name or full Amazon Resource Name (ARN) of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf. This parameter is required if you are using a load balancer with your service. If you specify the role parameter, you must also specify a load balancer object with the loadBalancers parameter.\r\n\r\nIf `--target-group-arn` or `--load-balancer-name` is not passed then the current behaviour is maintained and it doesn't try to associate an ELB with the service.\r\n\r\nNote: If both `target-goup-arn` and `load-balancer-name` present, `target-group-arn` param will take precedence."},"comment":{"url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/comments/288868059","html_url":"https://github.com/aws/amazon-ecs-cli/pull/211#issuecomment-288868059","issue_url":"https://api.github.com/repos/aws/amazon-ecs-cli/issues/211","id":288868059,"user":{"login":"yinshiua","id":20174005,"avatar_url":"https://avatars1.githubusercontent.com/u/20174005?v=3","gravatar_id":"","url":"https://api.github.com/users/yinshiua","html_url":"https://github.com/yinshiua","followers_url":"https://api.github.com/users/yinshiua/followers","following_url":"https://api.github.com/users/yinshiua/following{/other_user}","gists_url":"https://api.github.com/users/yinshiua/gists{/gist_id}","starred_url":"https://api.github.com/users/yinshiua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yinshiua/subscriptions","organizations_url":"https://api.github.com/users/yinshiua/orgs","repos_url":"https://api.github.com/users/yinshiua/repos","events_url":"https://api.github.com/users/yinshiua/events{/privacy}","received_events_url":"https://api.github.com/users/yinshiua/received_events","type":"User","site_admin":false},"created_at":"2017-03-23T21:37:21Z","updated_at":"2017-03-23T21:37:21Z","body":"Thanks for your contribution.\r\n\r\nI am giving a pass on this PR, but will have minor followup changes on bug fixing."}}
{"actor":{"display_login":"yinshiua"}}