Adrián Mouly
12/22/2021, 8:05 PMDockerImageFunction
construct from CDK into my SST stack.
How can I test this locally? Can I run the docker image locally? and how I can connect to Dynamo and others? is that possible from LOCAL?thdxr
12/22/2021, 8:05 PMAdrián Mouly
12/22/2021, 8:06 PMAdrián Mouly
12/22/2021, 8:07 PMthdxr
12/22/2021, 8:10 PMthdxr
12/22/2021, 8:11 PMAdrián Mouly
12/22/2021, 8:11 PMAdrián Mouly
12/22/2021, 8:11 PMDerek Kershner
12/22/2021, 9:11 PMtest
, do you mean unit test?
It sounds more like you mean running a local dev environment, in which case I believe the answer will depend how the lambda is invoked.Adrián Mouly
12/22/2021, 9:11 PMDerek Kershner
12/22/2021, 9:13 PMDerek Kershner
12/22/2021, 9:14 PMDerek Kershner
12/22/2021, 9:16 PMAWS_PROFILE
env variable populatedDerek Kershner
12/22/2021, 9:18 PMSimon Reilly
12/22/2021, 9:49 PMDerek Kershner
12/22/2021, 10:34 PMI do wonder though if ultimately testing in aws will be easier?I think so. https://dev.to/garethmcc/why-local-development-for-serverless-is-an-anti-pattern-1d9b
Derek Kershner
12/22/2021, 10:35 PM