{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/8768","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/8768/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/8768/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/8768/events","html_url":"https://github.com/hashicorp/terraform/pull/8768","id":176210209,"number":8768,"title":"\"external\" data source, for integrating with external programs","user":{"login":"apparentlymart","id":20180,"avatar_url":"https://avatars.githubusercontent.com/u/20180?v=3","gravatar_id":"","url":"https://api.github.com/users/apparentlymart","html_url":"https://github.com/apparentlymart","followers_url":"https://api.github.com/users/apparentlymart/followers","following_url":"https://api.github.com/users/apparentlymart/following{/other_user}","gists_url":"https://api.github.com/users/apparentlymart/gists{/gist_id}","starred_url":"https://api.github.com/users/apparentlymart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apparentlymart/subscriptions","organizations_url":"https://api.github.com/users/apparentlymart/orgs","repos_url":"https://api.github.com/users/apparentlymart/repos","events_url":"https://api.github.com/users/apparentlymart/events{/privacy}","received_events_url":"https://api.github.com/users/apparentlymart/received_events","type":"User","site_admin":false},"labels":[{"id":323728899,"url":"https://api.github.com/repos/hashicorp/terraform/labels/new-provider","name":"new-provider","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-10T23:37:37Z","updated_at":"2016-12-05T17:24:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hashicorp/terraform/pulls/8768","html_url":"https://github.com/hashicorp/terraform/pull/8768","diff_url":"https://github.com/hashicorp/terraform/pull/8768.diff","patch_url":"https://github.com/hashicorp/terraform/pull/8768.patch"},"body":"This is an implementation of the data source part of was proposed in #8144, with some modifications.\n\nAfter playing with the design some more I made the following adjustments compared to what I originally proposed:\n- The data source and resource will be called just `external`, since `data \"external_data_source\"` (etc) felt redundant. Now you can simply say `data \"external\" \"foo\"`, though this required a small tweak to core to allow a provider to export a resource whose name exactly matches the provider name.\n- Rather than having separate `program` and `interpreter` arguments, it instead expects `program` to be a list whose first element is the program (which might be an interpreter) and whose subsequent elements are arguments. An array is used so that expressions can be safely interpolated into arguments without needing to worry about the complicated business of escaping spaces and shell metacharacters.\n\nImplementation Progress:\n- [x] Provider\n  - [x] Documentation\n- [x] Core tweak to allow the resources to be called just `\"external\"`\n- [x] Data Source\n  - [x] Tests\n  - [x] Documentation\n\nSince the resource is more complex, I'd like to land the data source first.\n"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/264917502","html_url":"https://github.com/hashicorp/terraform/pull/8768#issuecomment-264917502","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/8768","id":264917502,"user":{"login":"stack72","id":227823,"avatar_url":"https://avatars.githubusercontent.com/u/227823?v=3","gravatar_id":"","url":"https://api.github.com/users/stack72","html_url":"https://github.com/stack72","followers_url":"https://api.github.com/users/stack72/followers","following_url":"https://api.github.com/users/stack72/following{/other_user}","gists_url":"https://api.github.com/users/stack72/gists{/gist_id}","starred_url":"https://api.github.com/users/stack72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stack72/subscriptions","organizations_url":"https://api.github.com/users/stack72/orgs","repos_url":"https://api.github.com/users/stack72/repos","events_url":"https://api.github.com/users/stack72/events{/privacy}","received_events_url":"https://api.github.com/users/stack72/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T17:24:26Z","updated_at":"2016-12-05T17:24:26Z","body":"@apparentlymart we just spoke about this and it LGTG now :)\r\n\r\nThanks!\r\n\r\nPaul"}}
{"actor":{"display_login":"stack72"}}