Just want to make sure I'm not about to head down ...
# help
a
Just want to make sure I'm not about to head down a path to insanity.... I should be able to use CDK Pipelines within Serverless Stack, yes?
a
Yep, if it works with CDK, it’ll work with SST.
a
Construct-wise, sure. CDK Pipeline is more though. For instance the synth step wants to do a
cdk synth
and find artifacts in
cdk.out
. SST makes a mess of directories in
.sst/artifacts
. Figuring there will be more pain points.... ?
a
you could substitute
cdk synth
with
sst cdk synth
as sst exposes the underlying cdk. Also, sst from what I know does not modify
cdk.out
in any way and so that should not be a problem.
a
There's no cdk.out directory right now, just using SST. I think I did once do
sst cdk synth
and get it though, so that will probably work. Little things like this though.... 🤞
a
well, sst is an abstraction over the cdk so you’ll have to navigate through those abstractions if you’re going to use a general purpose construct with an abstracted application. Shouldn’t be a problem though, a lot many folks will assist you here if you get stuck.
Also have you tried and tested https://seed.run? It’s a CI / CD service for SST and CDK apps, it’s free unless you’ve some custom steps involved in the build process and so you should check that out if you haven’t already.
This service is made by the SST team themselves.
a
@Adam Fanello what is CDK pipelines?
d
It deploys a CodePipeline that deploys your CDK stack.
f
Thanks @Ashishkumar Pandey
@Adam Fanello I haven’t looked into CDK pipelines in much detail, but I remember folks in the community said they had it work with SST apps.