{"action":"opened","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/3348","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/3348/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/3348/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/3348/events","html_url":"https://github.com/hashicorp/terraform/issues/3348","id":108753437,"number":3348,"title":"template_file stores sensitive information in cleartext","user":{"login":"arohner","id":15422,"avatar_url":"https://avatars.githubusercontent.com/u/15422?v=3","gravatar_id":"","url":"https://api.github.com/users/arohner","html_url":"https://github.com/arohner","followers_url":"https://api.github.com/users/arohner/followers","following_url":"https://api.github.com/users/arohner/following{/other_user}","gists_url":"https://api.github.com/users/arohner/gists{/gist_id}","starred_url":"https://api.github.com/users/arohner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arohner/subscriptions","organizations_url":"https://api.github.com/users/arohner/orgs","repos_url":"https://api.github.com/users/arohner/repos","events_url":"https://api.github.com/users/arohner/events{/privacy}","received_events_url":"https://api.github.com/users/arohner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-28T21:47:24Z","updated_at":"2015-09-28T21:47:24Z","closed_at":null,"body":"When using a template_file, the contents of the variables are stored in .tfstate. This is a problem when the template contains sensitive information, such as passwords and API keys, because terraform encourages checking in the .tfstate to source control, and source control is not a good place to store credentials."}}