{"action":"closed","issue":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/54","repository_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/54/comments","events_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/issues/54/events","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/issues/54","id":235679108,"number":54,"title":"azurerm_template_deployment parameters from acs-engine generated parameters file","user":{"login":"hashibot","id":26720499,"avatar_url":"https://avatars1.githubusercontent.com/u/26720499?v=4","gravatar_id":"","url":"https://api.github.com/users/hashibot","html_url":"https://github.com/hashibot","followers_url":"https://api.github.com/users/hashibot/followers","following_url":"https://api.github.com/users/hashibot/following{/other_user}","gists_url":"https://api.github.com/users/hashibot/gists{/gist_id}","starred_url":"https://api.github.com/users/hashibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hashibot/subscriptions","organizations_url":"https://api.github.com/users/hashibot/orgs","repos_url":"https://api.github.com/users/hashibot/repos","events_url":"https://api.github.com/users/hashibot/events{/privacy}","received_events_url":"https://api.github.com/users/hashibot/received_events","type":"User","site_admin":false},"labels":[{"id":620326282,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true},{"id":717150517,"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/labels/service/container-service","name":"service/container-service","color":"f067fc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/8","html_url":"https://github.com/terraform-providers/terraform-provider-azurerm/milestone/8","labels_url":"https://api.github.com/repos/terraform-providers/terraform-provider-azurerm/milestones/8/labels","id":3127989,"number":8,"title":"1.3.0","description":"","creator":{"login":"tombuildsstuff","id":666005,"avatar_url":"https://avatars1.githubusercontent.com/u/666005?v=4","gravatar_id":"","url":"https://api.github.com/users/tombuildsstuff","html_url":"https://github.com/tombuildsstuff","followers_url":"https://api.github.com/users/tombuildsstuff/followers","following_url":"https://api.github.com/users/tombuildsstuff/following{/other_user}","gists_url":"https://api.github.com/users/tombuildsstuff/gists{/gist_id}","starred_url":"https://api.github.com/users/tombuildsstuff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tombuildsstuff/subscriptions","organizations_url":"https://api.github.com/users/tombuildsstuff/orgs","repos_url":"https://api.github.com/users/tombuildsstuff/repos","events_url":"https://api.github.com/users/tombuildsstuff/events{/privacy}","received_events_url":"https://api.github.com/users/tombuildsstuff/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":34,"state":"open","created_at":"2018-02-19T20:13:45Z","updated_at":"2018-03-14T18:39:58Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-06-13T20:15:35Z","updated_at":"2018-03-14T18:39:58Z","closed_at":"2018-03-14T18:39:58Z","author_association":"NONE","body":"_This issue was originally opened by @Globegitter as hashicorp/terraform#13241. It was migrated here as part of the [provider split](https://www.hashicorp.com/blog/upcoming-provider-changes-in-terraform-0-10/). The original body of the issue is below._\r\n\r\n<hr>\r\n\r\nHi 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\nTerraform version: 0.9.2  6365269541c8e3150ebe638a5c555e1424071417+CHANGES\r\nGo runtime version: go1.8\r\n\r\n### Affected Resource(s)\r\nPlease list the resources as a list, for example:\r\n- azurerm_template_deployment\r\n\r\n### Terraform Configuration Files\r\n```hcl\r\nresource \"azurerm_template_deployment\" \"test\" {\r\n  name                = \"${var.cluster_name}\"\r\n  resource_group_name = \"${var.resource_group_name}\"\r\n\r\n  template_body = \"${file(azuredeploy.json)}\"\r\n  parameters = \"${file(azuredeploy.parameters.json)}\"\r\n  deployment_mode = \"Incremental\"\r\n  depends_on      = [\"null_resource.run_acs_engine\"]\r\n}\r\n```\r\n\r\n### Debug Output\r\n```\r\n1 error(s) occurred:\r\n\r\n* azurerm_template_deployment.test: parameters: should be a map\r\n```\r\n\r\n### Expected Behavior\r\nTerraform should have created that deployment\r\n\r\n### Actual Behavior\r\nIt failed\r\n\r\n### Steps to Reproduce\r\nPlease list the steps required to reproduce the issue, for example:\r\n1. Download the files from: https://gist.github.com/Globegitter/4ea17f9ed24ebdb38ce0a725fde01795\r\n2. `terraform apply`\r\n\r\n### Important Factoids\r\nI am using [acs-engine](https://github.com/Azure/acs-engine) to create the template file as shown in this article: http://danielrhoades.com/2017/03/20/docker-azure-terra/\r\n\r\nWhen I manually converted the `azuredeploy.parameters.json` into a map because it seemd to have issues with `agentpool1Count = 1` (maybe because it is an int?), once I removed that and the template used it started creating with the deployment.\r\n"}}
{"actor":{"display_login":"tombuildsstuff"}}