32ae05c342
We can't check lineage in the remote state instance, because we may need to overwrite a state with a new lineage. Whil it's tempting to add an optional interface for this, like OverwriteState(), optional interfaces are never _really_ optional, and will have to be implemented by any wrapper types as well. Another solution may be to add a State.Supersedes field to indicate that we intend to replace an existing state, but that may not be worth the extra check either. |
||
---|---|---|
.. | ||
artifactory.go | ||
artifactory_test.go | ||
azure.go | ||
azure_test.go | ||
etcd.go | ||
etcd_test.go | ||
file.go | ||
file_test.go | ||
gcs.go | ||
gcs_test.go | ||
http.go | ||
http_test.go | ||
manta.go | ||
manta_test.go | ||
remote.go | ||
remote_test.go | ||
state.go | ||
state_test.go | ||
testing.go |