{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/5860","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/5860/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/5860/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/5860/events","html_url":"https://github.com/hashicorp/terraform/pull/5860","id":143547945,"number":5860,"title":"command: \"terraform state show\"","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/core","name":"core","color":"cccccc"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-25T17:28:35Z","updated_at":"2016-03-25T20:56:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/5860","html_url":"https://github.com/hashicorp/terraform/pull/5860","diff_url":"https://github.com/hashicorp/terraform/pull/5860.diff","patch_url":"https://github.com/hashicorp/terraform/pull/5860.patch"},"body":"This adds the command `terraform state show` for showing the attributes of a single resource within the Terraform state. See the docs in the changes for more information.\r\n\r\nThis required some bug fixing on `terraform.StateFilter` as well.\r\n\r\nGoing forward, I notice we also have a `terraform show` command as a top-level porcelain command. I think this command has very little utility in its current form (shows the entire state). I think we should change this to behave similarly to `terraform state show` and I'll do a PR for that after. I think it should remain a different command though since it gives us the ability to add more fine-grained flags to the plumbing."},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/201497320","html_url":"https://github.com/hashicorp/terraform/pull/5860#issuecomment-201497320","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/5860","id":201497320,"user":{"login":"phinze","id":37534,"avatar_url":"https://avatars.githubusercontent.com/u/37534?v=3","gravatar_id":"","url":"https://api.github.com/users/phinze","html_url":"https://github.com/phinze","followers_url":"https://api.github.com/users/phinze/followers","following_url":"https://api.github.com/users/phinze/following{/other_user}","gists_url":"https://api.github.com/users/phinze/gists{/gist_id}","starred_url":"https://api.github.com/users/phinze/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phinze/subscriptions","organizations_url":"https://api.github.com/users/phinze/orgs","repos_url":"https://api.github.com/users/phinze/repos","events_url":"https://api.github.com/users/phinze/events{/privacy}","received_events_url":"https://api.github.com/users/phinze/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T20:56:28Z","updated_at":"2016-03-25T20:56:28Z","body":"One doc / help text nit. Otherwise this LTGM"}}