Sean Matheson
02/23/2022, 3:07 PMsst diff
into a variable within bash, but it appears the actual CDK diff is output via an inner child process or something. I end up getting something like this:
❯ body=$(./node_modules/.bin/sst diff --stage dev)
Stack dev-foo
IAM Statement Changes
... actual CDK DIFF
And outputting body variable:
❯ echo "$body"
Using stage: dev
Preparing your SST app
Building function src/foo/bar.handler
...
Anyone tried anything similar? I almost have a GitHub action working here. Just need to be able to nab the correct output. 😄Sean Matheson
02/23/2022, 3:15 PMDerek Kershner
02/23/2022, 3:35 PMDerek Kershner
02/23/2022, 3:36 PMSean Matheson
02/23/2022, 3:44 PM