add omitempty to create_before_destroy
no need to litter the state file with "create_before_destroy":false
This commit is contained in:
parent
a286ef6d9c
commit
08128fe775
|
@ -512,7 +512,7 @@ type instanceObjectStateV4 struct {
|
||||||
|
|
||||||
Dependencies []string `json:"dependencies,omitempty"`
|
Dependencies []string `json:"dependencies,omitempty"`
|
||||||
|
|
||||||
CreateBeforeDestroy bool `json:"create_before_destroy"`
|
CreateBeforeDestroy bool `json:"create_before_destroy,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// stateVersionV4 is a weird special type we use to produce our hard-coded
|
// stateVersionV4 is a weird special type we use to produce our hard-coded
|
||||||
|
|
Loading…
Reference in New Issue