Closed pnwpedro closed 1 year ago
Make sls fauna deploy|remove handle both resources when declared in the same file.
sls fauna deploy|remove
ServerlessFaunaPlugin fauna fauna deploy Deploy all schema definitions. FQL X resources are deployed first. fauna remove Remove all schema definitions. FQL X resources are removed last. fauna fqlx fauna fqlx deploy Deploy only FQL X schema definitions. (beta) fauna fqlx remove Remove only FQL X schema definitions. (beta) fauna fql4 fauna fql4 deploy Deploy only FQL 4 schema definitions. fauna fql4 remove Remove only FQL 4 schema definitions.
When both FQL 4 and X resources exist in the same file, the FQL X will deploy first. If remove command is used, the FQL X will remove last.
I'm going to go ahead and merge this to unblock some things, but I'm happy to address additional feedback if you have more @cleve-fauna
Make
sls fauna deploy|remove
handle both resources when declared in the same file.When both FQL 4 and X resources exist in the same file, the FQL X will deploy first. If remove command is used, the FQL X will remove last.
Testing