We have created an infrastructure using SST. In the same we need to create a dynamic stack from a lambda function. Can you point us to some relevant examples on the same?
sumitavo biswas
01/19/2022, 9:20 AM
As we checked, we can create a new SST app and then call that stack...We need to know what information what information need to be provided in the new SST app as it is not known by the new lambda function.
f
Frank
01/19/2022, 5:30 PM
Hey @sumitavo biswas, two options on top of my head:
1. Quick & dirty way: run
sst deploy
inside Lambda function.
2. Setup the dynamic app to a CI pipeline. And have the Lambda function trigger the pipeline with a custom stage.