Closed jrr closed 1 year ago
Looks like the readme syntax is incorrect. Thanks for reporting!
You can specify the deletion policy on a resource like so:
collections:
Movies:
name: Movies
logs:
name: logs
data:
deletion_policy: destroy
I do think it'd be nice to declare it on the top level of the resource config, though. It would feel more like a first-class feature. For now, though, we'll update the readme example. https://github.com/fauna-labs/serverless-fauna/pull/62
Thanks again!
It looks like
deletion_policy
on collections isn't recognized as valid configuration:This happens with yml based on the readme:
With the latest
serverless
andserverless-fauna
: