From f507e22ae3d8ca2c259d2e53c691b7aefecd89a5 Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 4 Mar 2022 16:34:04 -0800 Subject: [PATCH 1/2] chore: set compatible architecture for published extension layers --- apm-lambda-extension/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/apm-lambda-extension/Makefile b/apm-lambda-extension/Makefile index 8f06a6d1..bce24bbc 100644 --- a/apm-lambda-extension/Makefile +++ b/apm-lambda-extension/Makefile @@ -64,6 +64,7 @@ publish: validate-layer-name validate-aws-default-region --layer-name "$(ELASTIC_LAYER_NAME)-$(ARCHITECTURE)" \ --description "AWS Lambda Extension Layer for Elastic APM $(ARCHITECTURE)" \ --license "Apache-2.0" \ + --compatible-architectures "$(ARCHITECTURE)" --zip-file "fileb://./bin/extension.zip" # Grant public access to the given LAYER in the given AWS region From 9a82878dfe14f37530306115a18d7a16ce9e7bff Mon Sep 17 00:00:00 2001 From: Trent Mick Date: Fri, 4 Mar 2022 16:59:43 -0800 Subject: [PATCH 2/2] forgot this continuation char --- apm-lambda-extension/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apm-lambda-extension/Makefile b/apm-lambda-extension/Makefile index bce24bbc..f20b2f0b 100644 --- a/apm-lambda-extension/Makefile +++ b/apm-lambda-extension/Makefile @@ -64,7 +64,7 @@ publish: validate-layer-name validate-aws-default-region --layer-name "$(ELASTIC_LAYER_NAME)-$(ARCHITECTURE)" \ --description "AWS Lambda Extension Layer for Elastic APM $(ARCHITECTURE)" \ --license "Apache-2.0" \ - --compatible-architectures "$(ARCHITECTURE)" + --compatible-architectures "$(ARCHITECTURE)" \ --zip-file "fileb://./bin/extension.zip" # Grant public access to the given LAYER in the given AWS region