Skip to content

Commit a0dd7ad

Browse files
committed
remove unused packages
1 parent acc536a commit a0dd7ad

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.ebextensions/lambda-function.config

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@ Resources:
1414
Role: { "Fn::Join": [ "", [ "arn:aws:iam::",{"Ref" : "AWS::AccountId"},":role/service-role/lambda-scorekeep" ] ] }
1515
Runtime: nodejs4.3
1616

17-
packages:
18-
yum:
19-
jq: []
20-
git: []
21-
2217
commands:
2318
install-npm:
2419
command: sudo -u ec2-user /tmp/install-npm.sh
@@ -51,7 +46,7 @@ files:
5146
group: ec2-user
5247
content: |
5348
#!/bin/bash
54-
REGION=$(/opt/elasticbeanstalk/bin/get-config environment | jq -r '.AWS_REGION')
49+
REGION=$(/opt/elasticbeanstalk/bin/get-config environment -k AWS_REGION)
5550
STAGINGDIR=$(/opt/elasticbeanstalk/bin/get-config container -k container_staging_dir)
5651
cd _lambda/random-name
5752
/home/ec2-user/bin/npm install

0 commit comments

Comments
 (0)