Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. // TFVersion is the version of Terraform that wrote this state.
  2. TFVersion string `json:"terraform_version,omitempty"`
  3.  
  4. // Serial is incremented on any operation that modifies
  5. // the State file. It is used to detect potentially conflicting
  6. // updates.
  7. Serial int64 `json:"serial"`
  8.  
  9. // Lineage is set when a new, blank state is created and then
  10. // never updated. This allows us to determine whether the serials
  11. // of two states can be meaningfully compared.
  12. // Apart from the guarantee that collisions between two lineages
  13. // are very unlikely, this value is opaque and external callers
  14. // should only compare lineage strings byte-for-byte for equality.
  15. Lineage string `json:"lineage"`
  16.  
  17. // Remote is used to track the metadata required to
  18. // pull and push state files from a remote storage endpoint.
  19. Remote *RemoteState `json:"remote,omitempty"`
  20.  
  21. // Backend tracks the configuration for the backend in use with
  22. // this state. This is used to track any changes in the backend
  23. // configuration.
  24. Backend *BackendState `json:"backend,omitempty"`
  25.  
  26. // Modules contains all the modules in a breadth-first order
  27. Modules []*ModuleState `json:"modules"`
  28.  
  29. mu sync.Mutex
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement