Hey everyone :wave: What are some of the use-cases...
# sst
l
Hey everyone 👋 What are some of the use-cases for
Script
that people are trying out? https://docs.serverless-stack.com/constructs/Script
a
Check in general, I’ve asked the same thing.
f
Thanks @Adrián Mouly.
Hey @luke, yeah the use cases ppl brought up that inspired us to add the
Script
construct was seeding database and running database migration scripts.
I’d say use the
Script
construct to do stuff at deployment time that need to interact with resources inside a VPC that your local/CI might not be able to connect to; or interact with resources that your local/CI IAM credentials don’t have permissions for.
l
Thanks @Frank and @Adrián Mouly - this makes a lot of sense!