When creating a new stack using the local backend, the default checkpoint has no deployment. That means there's a nil snapshot created, which means our strategy of using the base snapshot's secrets manager was not going to work. Trying to do so would result in a panic because the baseSnapshot is nil in this case. Using the secrets manager we are going to use to persist the snapshot is a better idea anyhow, as that's what's actually going to be burned into the deployment when we serialize the snapshot, so let's use that instead. |
||
---|---|---|
.. | ||
backend.go | ||
bucket.go | ||
snapshot.go | ||
stack.go | ||
state.go |