Garret Harp
10/03/2021, 6:22 PM.env.local
but it says credentials missing whenever I start. Possibly a "profile" file in .sst
like you do with stage if the default credentials are empty?Ross Coundon
10/03/2021, 6:24 PMRoss Coundon
10/03/2021, 6:25 PMthdxr
10/03/2021, 6:25 PMthdxr
10/03/2021, 6:25 PMthdxr
10/03/2021, 6:26 PMthdxr
10/03/2021, 6:26 PMGarret Harp
10/03/2021, 6:27 PMthdxr
10/03/2021, 6:39 PMthdxr
10/03/2021, 6:39 PMexport AWS_PROFILE=xxx
in the shell before they startthdxr
10/03/2021, 6:39 PMthdxr
10/03/2021, 6:40 PMthdxr
10/03/2021, 6:40 PM[default]
I believe aws-sdks will automatically use itGarret Harp
10/03/2021, 6:41 PMGarret Harp
10/03/2021, 6:41 PMthdxr
10/03/2021, 6:42 PMFrank
.sst
folder like @Garret Harp suggested.Frank
sst.json
contains a mapping of Stage to AWS profile. I’m not sure if that makes sense.Milos Glavinic
10/04/2021, 10:15 AMMilos Glavinic
10/04/2021, 10:16 AMFrank
sst.json
file can get bloated for teams with many stages (ie. 1 stage for each developer)
• for PR workflow, each PR is deployed to a new stage and the stage name is often auto-generated (ie. pr233) It is tricky to define the stage names up front