Dan Greaves
12/02/2021, 6:14 AMFrank
sst-env works is that it looks for SST’s .build directory in its parent folders. Parses an environmnt file in it and launches whatver command that comes after it with those environment variables.Frank
sst-env.Dan Greaves
12/02/2021, 6:46 AM.build directory?Dan Greaves
12/02/2021, 6:52 AM.build directory. It would be awesome to have a construct which all it does is define the environment variables.Dan Greaves
12/02/2021, 6:59 AMFrank
sst start --outputs-file outputs.json this will give you a JSON with all stack outputs
• write a sst-env like bash script (a real simple script) that reads the outputs.json and set them as env vars
• wrap the next dev command with the scriptDan Greaves
12/02/2021, 9:02 PM