Ryan
11/19/2021, 12:05 PMStaticSite.environment
field writes to the static-site-environment-output-values.json
) How would I do that?
My specific use case is that I'm setting up DynamoDB Onetable, and I want to put the table name and function ARN into a config file for it so I don't need to manually grab them and paste.Ross Coundon
11/19/2021, 12:07 PMRyan
11/19/2021, 12:08 PMRyan
11/19/2021, 12:13 PMRyan
11/19/2021, 12:14 PMGabriel Bleu
11/19/2021, 12:15 PMsst deploy
takes an --outputs-file
parameterRyan
11/19/2021, 12:16 PMGabriel Bleu
11/19/2021, 12:19 PMpackage.json
?Ryan
11/19/2021, 12:24 PMsst start
command doesn't terminate.Ryan
11/19/2021, 12:46 PMRyan
11/19/2021, 12:56 PMRoss Coundon
11/19/2021, 1:15 PMJay
Frank
I want to put the table name and function ARN into a config fileDo you want to do this on
sst deploy
or sst start
?Ryan
11/20/2021, 4:38 AMMike McCall
11/20/2021, 6:18 AMcdk deploy --outputs-file outputs.json
sst supports this flag
https://docs.serverless-stack.com/packages/cli#optionsRyan
11/20/2021, 6:24 AM