Skip to content

Commit 5f8ad9d

Browse files
committed
fix dockerfile JSONArgsRecommended, rename lambda layer
1 parent 1f961e5 commit 5f8ad9d

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

lambda-layer/build.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
set -e
33

44
pushd src || exit
5+
rm -rf build
56
./build-lambda-layer.sh
67
popd || exit
78

89
pushd sample-apps || exit
10+
rm -rf build
911
./package-lambda-function.sh
1012
popd || exit
1113

lambda-layer/src/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ RUN mkdir -p /build && \
1616
cd /build && \
1717
zip -r aws-opentelemetry-python-layer.zip otel-instrument python
1818

19-
CMD cp /build/aws-opentelemetry-python-layer.zip /out/aws-opentelemetry-python-layer.zip
19+
CMD ["cp", "/build/aws-opentelemetry-python-layer.zip", "/out/aws-opentelemetry-python-layer.zip"]

lambda-layer/terraform/lambda/variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
variable "sdk_layer_name" {
22
type = string
33
description = "Name of published SDK layer"
4-
default = "adot-python"
4+
default = "aws-opentelemetry-distro-python"
55
}
66

77
variable "function_name" {
88
type = string
99
description = "Name of sample app function / API gateway"
10-
default = "adot-python"
10+
default = "aws-opentelemetry-distro-python"
1111
}
1212

1313
variable "architecture" {

0 commit comments

Comments
 (0)