Hey guys! A simple question. I am trying to add on...
# sst
i
Hey guys! A simple question. I am trying to add one more account to my aws config/creds and deploy the app to this account but when I hit
npx sst start
I am getting
CredentialsError: Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1
I have updated
app/.env
file so it looks
Copy code
AWS_SDK_LOAD_CONFIG=1
AWS_PROFILE=profile npx sst start
but it doesn't work. Am I missing something?
d
it is probably looking for a profile named
profile npx sst start
i
I did it exactly like in the docs
t
I don't think you can put the command in
.env
The example is what you'd type into the terminal
d
Are you on Windows? maybe why that looks foreign and wouldnt work?
i
Mac (lang=typescript)
d
then yeah, you should be able to just run the command in the terminal
i
Removed the command from
.env
but it doesn't work
d
if you type
AWS_PROFILE=profile npx sst start
into the terminal in the root folder of your project, does it work?
i
@Derek Kershner wow. Yeah. The process is started and deploying...
d
that was the intent of the docs
i
Ah...So I understood it incorrectly because I didn't see any info about "add the following lines to..@
@Derek Kershner Thank you for the help