<@UD8CWJT19> For first class providers (i.e. those...
# general
s
@brave-angle-33257 For first class providers (i.e. those made with
new aws.Provider(.....)
you can set it directly
b
ok.. but for regular usage like
new aws.ec2.Instance()
no?
ive been developing pretty rapidly, and my pattern is to setup a large yaml with all the info for various enviornments dev/stage/prod etc, so in that top yaml I define the region.. but then in some cases spawning new projects I miss the config and end up with things in different regions
not a big deal, thanks for the reply
s
IIRC you can also set it via
AWS_DEFAULT_REGION
?
b
yea you can for boto/cli.. wonder if it would take precedence to set it in the env under node? i’ll check..