File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ resource "aws_lambda_function" "your_lambda_function" {
114114To add the {{apm-lambda-ext}} and the APM agent to your container-based function extend the Dockerfile of your function image as follows:
115115
116116``` Dockerfile
117- FROM docker.elastic.co/observability/apm-lambda-extension-IMAGE_ARCH:latest AS lambda-extension
117+ FROM docker.elastic.co/observability/apm-lambda-extension-{ IMAGE_ARCH} :latest AS lambda-extension <1>
118118FROM docker.elastic.co/observability/apm-agent-python:latest AS python-agent
119119
120120# FROM ... <-- this is the base image of your Lambda function
@@ -124,6 +124,7 @@ COPY --from=python-agent /opt/python/ /opt/python/
124124
125125# ...
126126```
127+ 1 . Replace ` {IMAGE_ARCH} ` with the architecture of the image.
127128::::::
128129
129130:::::::
You can’t perform that action at this time.
0 commit comments