localstack/docs

Persistence

jim-meyer opened this issue · 1 comments

https://docs.localstack.cloud/user-guide/state-management/persistence/ doesn't say how to control the "load strategy". For the save strategy this page says to use the SNAPSHOT_SAVE_STRATEGY env var. One may assume that the save strategy can also be configured by an env variable. But that is not stated. This leaves the reader guessing as to how to configure this.
Now I'm forced to experiment to figure out how to configure the load strategy since there appears to be significant problems when using the default load strategy. E.g. accessing RDS just fails until I manually prod it via the CLI using awslocal rds describe-db-instances. But that problem is not the point of this issue. Incomplete docs for configuring the "load strategy" is the point here.

Hi @jim-meyer,
Thanks for pointing that out. The environment variable for the load configuration has been added to the persistence page. For future reference, there's also a dedicated configuration page where you can find any missing variable that might be overlooked in the dedicated service/feature documentation page: https://docs.localstack.cloud/references/configuration/#persistence.
Would you care to elaborate on the RDS issue or did you find that having the right loading strategy helps?