From 75c8396f7aa3e8b00b859710e0acbcac10604cc9 Mon Sep 17 00:00:00 2001 From: Paul Hinze Date: Wed, 6 May 2015 12:33:35 -0500 Subject: [PATCH] provider/google: compute template metadata to map Needs to match instance, since shared processing helper functions are used. Closes #1665 --- .../providers/google/resource_compute_instance_template.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/builtin/providers/google/resource_compute_instance_template.go b/builtin/providers/google/resource_compute_instance_template.go index 1eb907fd4..21b1d9982 100644 --- a/builtin/providers/google/resource_compute_instance_template.go +++ b/builtin/providers/google/resource_compute_instance_template.go @@ -126,12 +126,9 @@ func resourceComputeInstanceTemplate() *schema.Resource { }, "metadata": &schema.Schema{ - Type: schema.TypeList, + Type: schema.TypeMap, Optional: true, ForceNew: true, - Elem: &schema.Schema{ - Type: schema.TypeMap, - }, }, "network": &schema.Schema{