is it possible to set desired AWS profile in sst.j...
# help
m
is it possible to set desired AWS profile in sst.json? where are the sst.json docs?
t
I don't think it's possible - I've been avoiding creating new concepts on top of standard AWS CLI behavior
SST just follows all the same rules around aws config, AWS_PROFILE, AWS_SDK_LOAD_CONFIG, etc
m
serverless.yml supports
profile
t
I typically set AWS_PROFILE in the
scripts
section of package.json
sst.json is global, anything defined there will apply to all situations, sst start, sst deploy, local, ci, etc
I don't really like having region in there either because that should also be controlled through standard AWS patterns
m
thanks