adds triggers to the null resource

This commit is contained in:
Kevin Nuckolls 2015-09-15 16:00:12 -05:00
parent 57bea9f26c
commit 32832ba030
1 changed files with 7 additions and 1 deletions

View File

@ -19,7 +19,13 @@ func resource() *schema.Resource {
Update: resourceUpdate, Update: resourceUpdate,
Delete: resourceDelete, Delete: resourceDelete,
Schema: map[string]*schema.Schema{}, Schema: map[string]*schema.Schema{
"triggers": &schema.Schema{
Type: schema.TypeMap,
Optional: true,
ForceNew: true,
},
},
} }
} }