{"action":"closed","issue":{"url":"https://api.github.com/repos/hashicorp/terraform/issues/8589","repository_url":"https://api.github.com/repos/hashicorp/terraform","labels_url":"https://api.github.com/repos/hashicorp/terraform/issues/8589/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/terraform/issues/8589/comments","events_url":"https://api.github.com/repos/hashicorp/terraform/issues/8589/events","html_url":"https://github.com/hashicorp/terraform/issues/8589","id":174404258,"number":8589,"title":"data.template_file.init: Provider doesn't support data source: template_file","user":{"login":"bigmyx","id":1533314,"avatar_url":"https://avatars.githubusercontent.com/u/1533314?v=3","gravatar_id":"","url":"https://api.github.com/users/bigmyx","html_url":"https://github.com/bigmyx","followers_url":"https://api.github.com/users/bigmyx/followers","following_url":"https://api.github.com/users/bigmyx/following{/other_user}","gists_url":"https://api.github.com/users/bigmyx/gists{/gist_id}","starred_url":"https://api.github.com/users/bigmyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigmyx/subscriptions","organizations_url":"https://api.github.com/users/bigmyx/orgs","repos_url":"https://api.github.com/users/bigmyx/repos","events_url":"https://api.github.com/users/bigmyx/events{/privacy}","received_events_url":"https://api.github.com/users/bigmyx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-31T23:39:00Z","updated_at":"2016-08-31T23:50:43Z","closed_at":"2016-08-31T23:50:43Z","body":"Hi there,\r\n\r\nThank you for opening an issue. Please note that we try to keep the Terraform issue tracker reserved for bug reports and feature requests. For general usage questions, please see: https://www.terraform.io/community.html.\r\n\r\n### Terraform Version\r\nv0.7.0-dev\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- template_file\r\n\r\nIf this issue appears to affect multiple resources, it may be an issue with Terraform's core, so please mention this.\r\n\r\n### Terraform Configuration Files\r\n```\r\ndata \"template_file\" \"init\" {\r\n  template = \"${file(\"cloud-config.tpl\")}\"\r\n\r\n  vars {\r\n    role = \"${var.role}\"\r\n    availability_zone = \"${var.availability_zone}\"\r\n  }\r\n}\r\n\r\nresource \"aws_instance\" \"datanode\" {\r\n    ami = \"${ami}\"\r\n    subnet_id = \"${lookup(var.vpc_data_layer_subnet, \"${var.region}${var.availability_zone}\")}\"\r\n    vpc_security_group_ids = [\"${lookup(var.vpc_security_group, \"group\")}\"]\r\n    instance_type = \"${var.instance_type}\"\r\n    user_data = \"${data.template_file.init.rendered}\"\r\n    count = \"1\"\r\n}\r\n```\r\n\r\n### Debug Output\r\nhttps://gist.github.com/bigmyx/3e6099adc1af21214c02efa7c2cfce81\r\n\r\n"}}
{"actor":{"display_login":"bigmyx"}}