Skip to content

Commit dd1ba4d

Browse files
ramansahgodu
authored andcommitted
Added AWS_REGION in config
1 parent cbc5571 commit dd1ba4d

File tree

3 files changed

+3
-1
lines changed
  • packages

3 files changed

+3
-1
lines changed

packages/serverless-offline-dynamodb-streams/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class ServerlessOfflineDynamoDBStreams {
8282

8383
const {env} = process;
8484
const functionEnv = assignAll([
85-
{},
85+
{AWS_REGION: get('service.provider.region', this)},
8686
env,
8787
get('service.provider.environment', this),
8888
get('environment', __function)

packages/serverless-offline-kinesis/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class ServerlessOfflineKinesis {
7878

7979
const {env} = process;
8080
const functionEnv = assignAll([
81+
{AWS_REGION: get('service.provider.region', this)},
8182
env,
8283
get('service.provider.environment', this),
8384
get('environment', __function)

packages/serverless-offline-sqs/src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class ServerlessOfflineSQS {
100100

101101
const {env} = process;
102102
const functionEnv = assignAll([
103+
{AWS_REGION: get('service.provider.region', this)},
103104
env,
104105
get('service.provider.environment', this),
105106
get('environment', __function)

0 commit comments

Comments
 (0)