{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/2182","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/2182/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/2182/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/2182/events","html_url":"https://github.com/hashicorp/terraform/issues/2182","id":83766357,"number":2182,"title":"allow `-target` to accept globs","user":{"login":"tamsky","id":96978,"avatar_url":"https://avatars0.githubusercontent.com/u/96978?v=4","gravatar_id":"","url":"https://api.github.com/users/tamsky","html_url":"https://github.com/tamsky","followers_url":"https://api.github.com/users/tamsky/followers","following_url":"https://api.github.com/users/tamsky/following{/other_user}","gists_url":"https://api.github.com/users/tamsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tamsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamsky/subscriptions","organizations_url":"https://api.github.com/users/tamsky/orgs","repos_url":"https://api.github.com/users/tamsky/repos","events_url":"https://api.github.com/users/tamsky/events{/privacy}","received_events_url":"https://api.github.com/users/tamsky/received_events","type":"User","site_admin":false},"labels":[{"id":127939292,"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc","default":false},{"id":85946959,"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2015-06-02T00:47:08Z","updated_at":"2018-03-22T20:20:00Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Suppose one declares several concurrent environments in a single tf config.\n\nTo limit cli actions to a single environment at a time, it would be convenient if a way existed, via `-target` to glob-match modules, module_paths, resource_types and resource_names:\n\n`terraform apply -target=aws*.staging*`  # target aws\\* resource_types\n\nor similarly, for all modules:\n\n`terraform apply -target=*.*.staging*` # target all modules and resource_types\n\nor similarly, for all module_paths:\n\n`terraform apply -target=**.staging*`  # star star = target all modules and submodules\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/375443802","html_url":"https://github.com/hashicorp/terraform/issues/2182#issuecomment-375443802","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/2182","id":375443802,"user":{"login":"chunyong-lin","id":21151436,"avatar_url":"https://avatars1.githubusercontent.com/u/21151436?v=4","gravatar_id":"","url":"https://api.github.com/users/chunyong-lin","html_url":"https://github.com/chunyong-lin","followers_url":"https://api.github.com/users/chunyong-lin/followers","following_url":"https://api.github.com/users/chunyong-lin/following{/other_user}","gists_url":"https://api.github.com/users/chunyong-lin/gists{/gist_id}","starred_url":"https://api.github.com/users/chunyong-lin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chunyong-lin/subscriptions","organizations_url":"https://api.github.com/users/chunyong-lin/orgs","repos_url":"https://api.github.com/users/chunyong-lin/repos","events_url":"https://api.github.com/users/chunyong-lin/events{/privacy}","received_events_url":"https://api.github.com/users/chunyong-lin/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T20:20:00Z","updated_at":"2018-03-22T20:20:00Z","author_association":"NONE","body":"++ would love to have this feature."}}
{"actor":{"display_login":"chunyong-lin"}}