From 4208e83c643173b9e67017cf09ebf9c14b031632 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 --- resource_compute_instance_template.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/resource_compute_instance_template.go b/resource_compute_instance_template.go index 1eb907fd..21b1d998 100644 --- a/resource_compute_instance_template.go +++ b/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{