diff --git a/run.go b/run.go index 4742d6f..550a4a8 100644 --- a/run.go +++ b/run.go @@ -86,6 +86,9 @@ type RunCreateOptions struct { ID string `jsonapi:"primary,runs"` IsDestroy *bool `jsonapi:"attr,is-destroy,omitempty"` + // Whether this run is going to destroy instead of apply. + IsDestroy *bool `jsonapi:"attr,is-destroy,omitempty"` + // Specifies the configuration version to use for this run. ConfigurationVersion *ConfigurationVersion `jsonapi:"relation,configuration-version,omitempty"` // Specifies the workspace where the run will be executed.