Skip to content

Commit ff98aa6

Browse files
add code annotation
1 parent e795df5 commit ff98aa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/reference/lambda-support.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ resource "aws_lambda_function" "your_lambda_function" {
114114
To 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>
118118
FROM 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
:::::::

0 commit comments

Comments
 (0)