mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #3244 from Banno/make-null-resource-more-useful
Add triggers to the null_resource
This commit is contained in:
commit
1152ee9a53
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user