add omitempty to create_before_destroy

no need to litter the state file with "create_before_destroy":false
This commit is contained in:
James Bardin 2020-05-18 11:31:36 -04:00
parent a286ef6d9c
commit 08128fe775
1 changed files with 1 additions and 1 deletions

View File

@ -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