-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhoneycomb-layer.sh
27 lines (22 loc) · 1 KB
/
honeycomb-layer.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/bash
# NOTE: This is completely optional!
#
# This script adds the Honeycomb integration layer on top of your functions, as a Lambda Layer.
# If you changed the function and/or stack names, make sure to update them below.
#
# Reference: https://github.com/honeycombio/honeycomb-lambda-extension
REGION="eu-north-1"
ARCH="arm64" #"x86_64"
VERSION="v11-1-2:1"
aws lambda update-function-configuration \
--function-name "better-apis-demo-shared-FakeUser" \
--region $REGION \
--layers "arn:aws:lambda:$REGION:702835727665:layer:honeycomb-lambda-extension-$ARCH:$VERSION"
aws lambda update-function-configuration \
--function-name "better-apis-demo-shared-FeatureToggles" \
--region $REGION \
--layers "arn:aws:lambda:$REGION:702835727665:layer:honeycomb-lambda-extension-$ARCH:$VERSION"
aws lambda update-function-configuration \
--function-name "better-apis-demo-shared-Authorizer" \
--region $REGION \
--layers "arn:aws:lambda:$REGION:702835727665:layer:honeycomb-lambda-extension-$ARCH:$VERSION"