I asked this in the aws-cdk slack, but did not get...
# help
j
I asked this in the aws-cdk slack, but did not get much response. So I thought maybe this group could advise as this could be a cdk or sst solution. Is there a way to include prompts for user input after
sst deploy
is run? I would like to be able to prompt for parameters if they were not provided through arguments / env file. For example if I wanted to create a project that would use an existing s3 bucket (if the user wants) but otherwise will create its own bucket.
o
I think you’ll need to check if some parameters aren’t provided yourself, do the prompting, then invoke sst deploy
j
like a wrapper script, so not within the sst stack/app code?
o
Yeah I don’t think SST has any hooks to let you implement custom logic before running things