Skip to content

Commit

Permalink
r/nas_datastore - Fix broken TF HCL
Browse files Browse the repository at this point in the history
host_system_ids needs to be supplied as a list.
  • Loading branch information
vancluever committed Sep 7, 2017
1 parent 71c9329 commit 629376a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/r/nas_datastore.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ data "vsphere_host" "esxi_hosts" {
}
resource "vsphere_nas_datastore" "datastore" {
name = "terraform-test"
host_system_ids = "${data.vsphere_host.esxi_hosts.*.id}"
name = "terraform-test"
host_system_ids = ["${data.vsphere_host.esxi_hosts.*.id}"]
type = "NFS"
remote_hosts = ["nfs"]
remote_path = "/export/terraform-test"
Expand Down

0 comments on commit 629376a

Please sign in to comment.