{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/8669","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/8669/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/8669/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/8669/events","html_url":"https://github.com/hashicorp/terraform/issues/8669","id":175176803,"number":8669,"title":"Let terraform plan output rendered templates","user":{"login":"llarsson","id":1425662,"avatar_url":"https://avatars.githubusercontent.com/u/1425662?v=3","gravatar_id":"","url":"https://api.github.com/users/llarsson","html_url":"https://github.com/llarsson","followers_url":"https://api.github.com/users/llarsson/followers","following_url":"https://api.github.com/users/llarsson/following{/other_user}","gists_url":"https://api.github.com/users/llarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/llarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llarsson/subscriptions","organizations_url":"https://api.github.com/users/llarsson/orgs","repos_url":"https://api.github.com/users/llarsson/repos","events_url":"https://api.github.com/users/llarsson/events{/privacy}","received_events_url":"https://api.github.com/users/llarsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hashicorp/terraform/labels/enhancement","name":"enhancement","color":"d4c5f9"},{"url":"https://api.github.com/repos/hashicorp/terraform/labels/provider/template","name":"provider/template","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-06T07:19:25Z","updated_at":"2016-10-11T18:39:38Z","closed_at":null,"body":"I use templates to generate user-data for my instances. As part of `terraform plan`, I care much more about what values the bootscript will be rendered with, rather than the template I passed in. \r\n\r\nCould we get that as part of the output (possibly instead of merely echoing the template)?"},"comment":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/comments/253006168","html_url":"https://github.com/hashicorp/terraform/issues/8669#issuecomment-253006168","issue_url":"https://api.github.com/repos/hashicorp/terraform/issues/8669","id":253006168,"user":{"login":"llarsson","id":1425662,"avatar_url":"https://avatars.githubusercontent.com/u/1425662?v=3","gravatar_id":"","url":"https://api.github.com/users/llarsson","html_url":"https://github.com/llarsson","followers_url":"https://api.github.com/users/llarsson/followers","following_url":"https://api.github.com/users/llarsson/following{/other_user}","gists_url":"https://api.github.com/users/llarsson/gists{/gist_id}","starred_url":"https://api.github.com/users/llarsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/llarsson/subscriptions","organizations_url":"https://api.github.com/users/llarsson/orgs","repos_url":"https://api.github.com/users/llarsson/repos","events_url":"https://api.github.com/users/llarsson/events{/privacy}","received_events_url":"https://api.github.com/users/llarsson/received_events","type":"User","site_admin":false},"created_at":"2016-10-11T18:39:38Z","updated_at":"2016-10-11T18:39:38Z","body":"Hi!\n\nI always have computed values and use Launch Configurationations, as I\npretty much always use auto scaling for high availability, if not for\nscaling. So that should explain it, thanks.\n\n\nMartin Atkins <notifications@github.com> skrev: (11 oktober 2016 17:54:48\nCEST)\n>\n> Hi @llarsson <https://github.com/llarsson>,\n>\n> I would expect that the rendered template would be visible in the diff for\n> the user_data attribute on the instance, so you can see what you're\n> setting it to. Is it not showing up there?\n>\n> If you're still on Terraform 0.6, where template_file is a resource, then\n> this is expected not to work because on initial creation the user_data\n> will show up as just \"<computed>\" or \"${template_file.foo.rendered}\".\n>\n> As of Terraform 0.7 template_file is a data source, so it won't actually\n> show up in the diff at all if it's possible to render it entirely at plan\n> time, but its result should be immediately visible in the user_data\n> attribute diff.\n>\n> If your template_file references attributes on other resources that need\n> to be created first then we wouldn't be able to show the rendered template\n> during plan in either case, because there isn't enough information at plan\n> time to render the template and so this needs to wait until apply time.\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/hashicorp/terraform/issues/8669#issuecomment-252959910>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ABXA_n5qsvtiZ39ZqiVTXkzYH1-5canIks5qy7FIgaJpZM4J1iI2>\n> .\n>\n"}}
{"actor":{"display_login":"llarsson"}}