File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 2
2
set -e
3
3
4
4
pushd src || exit
5
+ rm -rf build
5
6
./build-lambda-layer.sh
6
7
popd || exit
7
8
8
9
pushd sample-apps || exit
10
+ rm -rf build
9
11
./package-lambda-function.sh
10
12
popd || exit
11
13
Original file line number Diff line number Diff line change @@ -16,4 +16,4 @@ RUN mkdir -p /build && \
16
16
cd /build && \
17
17
zip -r aws-opentelemetry-python-layer.zip otel-instrument python
18
18
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" ]
Original file line number Diff line number Diff line change 1
1
variable "sdk_layer_name" {
2
2
type = string
3
3
description = " Name of published SDK layer"
4
- default = " adot -python"
4
+ default = " aws-opentelemetry-distro -python"
5
5
}
6
6
7
7
variable "function_name" {
8
8
type = string
9
9
description = " Name of sample app function / API gateway"
10
- default = " adot -python"
10
+ default = " aws-opentelemetry-distro -python"
11
11
}
12
12
13
13
variable "architecture" {
You can’t perform that action at this time.
0 commit comments