Skip to content

Commit 32832ba

Browse files
committed
adds triggers to the null resource
1 parent 57bea9f commit 32832ba

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

builtin/providers/null/resource.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,13 @@ func resource() *schema.Resource {
1919
Update: resourceUpdate,
2020
Delete: resourceDelete,
2121

22-
Schema: map[string]*schema.Schema{},
22+
Schema: map[string]*schema.Schema{
23+
"triggers": &schema.Schema{
24+
Type: schema.TypeMap,
25+
Optional: true,
26+
ForceNew: true,
27+
},
28+
},
2329
}
2430
}
2531

0 commit comments

Comments
 (0)