{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/9098","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/9098/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/9098/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/9098/events","html_url":"https://github.com/hashicorp/terraform/issues/9098","id":179698071,"number":9098,"title":"[AWS] Pass tags to module creating an ASG ","user":{"login":"mcinteer","id":2257651,"avatar_url":"https://avatars.githubusercontent.com/u/2257651?v=3","gravatar_id":"","url":"https://api.github.com/users/mcinteer","html_url":"https://github.com/mcinteer","followers_url":"https://api.github.com/users/mcinteer/followers","following_url":"https://api.github.com/users/mcinteer/following{/other_user}","gists_url":"https://api.github.com/users/mcinteer/gists{/gist_id}","starred_url":"https://api.github.com/users/mcinteer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcinteer/subscriptions","organizations_url":"https://api.github.com/users/mcinteer/orgs","repos_url":"https://api.github.com/users/mcinteer/repos","events_url":"https://api.github.com/users/mcinteer/events{/privacy}","received_events_url":"https://api.github.com/users/mcinteer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-28T07:21:03Z","updated_at":"2016-09-28T07:21:03Z","closed_at":null,"body":"Hi there,\r\n\r\n### Terraform Version\r\n```\r\n$ terraform -v\r\nTerraform v0.7.4\r\n```\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- aws_autoscaling_group\r\n\r\n### Terraform Configuration Files\r\nThis is an ASG defined in a module with some default tags:\r\n```hcl\r\nresource \"aws_autoscaling_group\" \"asg\" {\r\n  name = \"${var.env}-${var.cell}-${var.app}\"\r\n  launch_configuration = \"${aws_launch_configuration.lc.name}\"\r\n  .\r\n  .\r\n  .\r\n  tag {\r\n    key = \"Name\"\r\n    value = \"${var.env}-${var.app}\"\r\n    propagate_at_launch = true\r\n  }\r\n\r\n  tag {\r\n    key = \"app\"\r\n    value = \"${var.env}-${var.app}\"\r\n    propagate_at_launch = true\r\n  }\r\n.\r\n.\r\n.\r\n```\r\n\r\n### Info\r\nI'd like to be able to pass this module some extra tags to add to the ASG. for example if I have a couple of different stacks using this module and they both require these default tags but then one of them requires some additional tags. Is this available already? I've done a fair amount of googling on this but cannot find anything on it. \r\n\r\nIt seems that because each tag is added individually rather than a list of tags that I can't add to the list. Is there a workaround for this or can we get it implemented?\r\n\r\nThanks,\r\nRyan"}}
{"actor":{"display_login":"mcinteer"}}