From 32832ba030c1d2b53274c134b6125ab7cd37d653 Mon Sep 17 00:00:00 2001 From: Kevin Nuckolls Date: Tue, 15 Sep 2015 16:00:12 -0500 Subject: [PATCH] adds triggers to the null resource --- builtin/providers/null/resource.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/builtin/providers/null/resource.go b/builtin/providers/null/resource.go index 0badf346c..bd1e6f89c 100644 --- a/builtin/providers/null/resource.go +++ b/builtin/providers/null/resource.go @@ -19,7 +19,13 @@ func resource() *schema.Resource { Update: resourceUpdate, Delete: resourceDelete, - Schema: map[string]*schema.Schema{}, + Schema: map[string]*schema.Schema{ + "triggers": &schema.Schema{ + Type: schema.TypeMap, + Optional: true, + ForceNew: true, + }, + }, } }