Merge pull request #3244 from Banno/make-null-resource-more-useful

Add triggers to the null_resource
This commit is contained in:
Paul Hinze 2015-10-27 13:30:54 -05:00
commit 1152ee9a53
1 changed files with 7 additions and 1 deletions

View File

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