I currently have a single stack that has a functio...
# help
j
I currently have a single stack that has a function used to basically keep track of any changes happening to my DDB tables as an audit log. This function is now pretty stable so it never changes, but when doing a
sst diff
it always has to build it first, which takes quite some time. This holds up checking any other changes. Just wondering if anyone has any other ideas other than separating the stack?
f
Hey @justindra, SST needs to build in order to get the final CloudFormation template and Lambda zip file to generate the diff.
Can’t think of a quicker way on top of my head.
j
Hm... yea, i figured as much. I guess the only thing I can think of if you use the hash of the source instead of the bundle, but that could potentially be incorrect depending on the dependencies etc. Oh well, I will just separate the stack, thankfully SST makes this easy enough 🙂