opentofu/internal/states
Martin Atkins efdc6e52bc cloud: Skip intermediate state snapshots in Terraform Cloud/Enterprise
We've seen some concern about the additional storage usage implied by
creating intermediate state snapshots for particularly long apply phases
that can arise when managing a large number of resource instances together
in a single workspace.

This is an initial coarse approach to solving that concern, just restoring
the original behavior when running inside Terraform Cloud or Enterprise
for now and not creating snapshots at all.

This is here as a solution of last resort in case we cannot find a better
compromise before the v1.5.0 final release. Hopefully a future commit
will implement a more subtle take on this which still gets some of the
benefits when running in a Terraform Enterprise environment but in a way
that will hopefully be less concerning for Terraform Enterprise
administrators.

This does not affect any other state storage implementation except the
Terraform Cloud integration and the "remote" backend's state storage when
running inside a TFC/TFE-driven remote execution environment.
2023-05-23 15:25:48 -07:00
..
remote cloud: Skip intermediate state snapshots in Terraform Cloud/Enterprise 2023-05-23 15:25:48 -07:00
statefile [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
statemgr [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
checks.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
doc.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
instance_generation.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
instance_object_src.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
instance_object_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
instance_object.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
module.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
objectstatus_string.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
output_value.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
resource_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
resource.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_deepcopy.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_equal.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state_string.go Move states/ to internal/states/ 2021-05-17 14:09:07 -07:00
state_test.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
state.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00
sync.go [COMPLIANCE] Add Copyright and License Headers 2023-05-02 15:33:06 +00:00