mirror of
https://github.com/serverless/serverless.git
synced 2026-01-25 15:07:39 +00:00
updated aws config to use .env regions
This commit is contained in:
parent
becb4fa5d5
commit
69acfa3ca4
@ -18,7 +18,7 @@ module.exports = {
|
||||
aws: {
|
||||
admin_access_key: process.env.AWS_ADMIN_ACCESS_KEY,
|
||||
admin_secret_access_key: process.env.AWS_ADMIN_SECRET_ACCESS_KEY,
|
||||
aws_region: 'us-east-1'
|
||||
aws_region: process.env.AWS_LAMBDA_REGIONS.split(',')[0]
|
||||
},
|
||||
|
||||
// JSON Web Token
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user