MerLoc GateKeeper Layer Setup
Add MerLoc GateKeeper layer:
arn:aws:lambda:${region}:269863060030:layer:merloc-gatekeeper:${version}
You can use the latest layer version (shown below) instead of the
${version}
above:
Note that the region of the ARN is dynamic, so you need to change it accordingly to the region where you deploy your function. So let’s say that you deploy your Lambda function to the
Oregon
(us-west-2
) region. So the layer ARN will be: arn:aws:lambda:us-west-2:269863060030:layer:merloc-gatekeeper:${version}
Add MerLoc GateKeeper Go layer:
arn:aws:lambda:${region}:269863060030:layer:merloc-gatekeeper-go:${version}
You can use the latest layer version (shown below) instead of the
${version}
above:Note that the region of the ARN is dynamic, so you need to change it accordingly to the region where you deploy your function. So let’s say that you deploy your Lambda function to the
Oregon
(us-west-2
) region. So the layer ARN will be: arn:aws:lambda:us-west-2:269863060030:layer:merloc-gatekeeper-go:${version}
WarningJava 8 on Amazon Linux 1
(java8
) and.NET Core 3.1
(dotnetcore3.1
) runtimes are not supported.
- Sign-up Thundra APM here, get your API key and set your API key through
MERLOC_APIKEY
environment variable.
MERLOC_APIKEY
: This configuration is OPTIONAL. But it is required (MANDATORY) if the broker requires API key (for example Thundra hosted MerLoc broker). If you are using Thundra hosted MerLoc broker (which is default), you can sign-up Thundra APM here and get your API key.MERLOC_ENABLE
: This configuration is OPTIONAL. Even though MerLoc GateKeeper layer is added and configured, you can disable it by setting theMERLOC_ENABLE
environment variable tofalse
. For example,MERLOC_ENABLE=falseMERLOC_DEBUG_ENABLE
: This configuration is OPTIONAL. By default, internal debug logs are disabled, but you can enable it by setting theMERLOC_DEBUG_ENABLE
environment variable totrue
. For example,MERLOC_DEBUG_ENABLE=trueMERLOC_BROKER_CONNECTION_NAME
: This configuration is OPTIONAL. By default, the name of the connection to the broker is the name of the AWS Lambda function for GateKeeper. But you can change it by setting theMERLOC_BROKER_CONNECTION_NAME
environment variable. For example,MERLOC_BROKER_CONNECTION_NAME=serkan-connection