{"action":"created","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/3535","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/3535/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/3535/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/3535/events","html_url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3535","id":300320667,"node_id":"MDExOlB1bGxSZXF1ZXN0MTcxNDM1ODc0","number":3535,"title":"Retry ECS create/update when target group isn't yet attached","user":{"login":"tomelliff","id":4348646,"node_id":"MDQ6VXNlcjQzNDg2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4348646?v=4","gravatar_id":"","url":"https://api.github.com/users/tomelliff","html_url":"https://github.com/tomelliff","followers_url":"https://api.github.com/users/tomelliff/followers","following_url":"https://api.github.com/users/tomelliff/following{/other_user}","gists_url":"https://api.github.com/users/tomelliff/gists{/gist_id}","starred_url":"https://api.github.com/users/tomelliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomelliff/subscriptions","organizations_url":"https://api.github.com/users/tomelliff/orgs","repos_url":"https://api.github.com/users/tomelliff/repos","events_url":"https://api.github.com/users/tomelliff/events{/privacy}","received_events_url":"https://api.github.com/users/tomelliff/received_events","type":"User","site_admin":false},"labels":[{"id":620316241,"node_id":"MDU6TGFiZWw2MjAzMTYyNDE=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":794046655,"node_id":"MDU6TGFiZWw3OTQwNDY2NTU=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/service/ecs","name":"service/ecs","color":"bfd4f2","default":false},{"id":737832193,"node_id":"MDU6TGFiZWw3Mzc4MzIxOTM=","url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/labels/size/M","name":"size/M","color":"ffffff","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-26T17:08:41Z","updated_at":"2018-07-11T18:57:47Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/pulls/3535","html_url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3535","diff_url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3535.diff","patch_url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3535.patch"},"body":"The ECS service can be attached to a load balancer's target group but at that point it may not yet be attached to a load balancer as the dependency graph Terraform generates normally will create the ECS service at the same time as the load balancer listener/listener rule.\r\nThis could be avoided by setting the ECS service 'depends_on' to include the load balancer listener/listener rule but this is not usable if the load balancer listener/listener rule is created in another module.\r\n\r\nThe target group in the acceptance test now gets the name from the load balancer, forcing a dependency between the load balancer and the target group.\r\nUnfortunately it's not possible to use something from the listener to force the dependency as the listener already has a dependency on the target group.\r\n\r\nFixes https://github.com/terraform-providers/terraform-provider-aws/issues/3495"},"comment":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/comments/404275376","html_url":"https://github.com/terraform-providers/terraform-provider-aws/pull/3535#issuecomment-404275376","issue_url":"https://api.github.com/repos/terraform-providers/terraform-provider-aws/issues/3535","id":404275376,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDI3NTM3Ng==","user":{"login":"tomelliff","id":4348646,"node_id":"MDQ6VXNlcjQzNDg2NDY=","avatar_url":"https://avatars3.githubusercontent.com/u/4348646?v=4","gravatar_id":"","url":"https://api.github.com/users/tomelliff","html_url":"https://github.com/tomelliff","followers_url":"https://api.github.com/users/tomelliff/followers","following_url":"https://api.github.com/users/tomelliff/following{/other_user}","gists_url":"https://api.github.com/users/tomelliff/gists{/gist_id}","starred_url":"https://api.github.com/users/tomelliff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomelliff/subscriptions","organizations_url":"https://api.github.com/users/tomelliff/orgs","repos_url":"https://api.github.com/users/tomelliff/repos","events_url":"https://api.github.com/users/tomelliff/events{/privacy}","received_events_url":"https://api.github.com/users/tomelliff/received_events","type":"User","site_admin":false},"created_at":"2018-07-11T18:57:47Z","updated_at":"2018-07-11T18:57:47Z","author_association":"CONTRIBUTOR","body":"@bflad Just rebased it back on to master now, apologies for not spotting your message on Gitter sooner.\r\n\r\nI've not re-ran the tests after the rebase but it looks fine from a glance. If you don't beat me to it I'll re-run the tests tomorrow morning when I get a chance."}}
{"actor":{"display_login":"tomelliff"}}