mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
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"`
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user