Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,22 @@ To package the Sumo Logic Lambda Extension with the AWS Lambda function created
```

1. In your AWS Lambda container image Dockerfile, add the command below.

##### Create the target directory for extensions
```bash
ADD <Location-where-you-downloaded-the-tar-file>/sumologic-extension-<architecture>.tar.gz /opt/
RUN mkdir -p /opt/extensions
```

1. Validate if the extension is added to the directory and execute the below command.
##### Create the target directory for extensions
```bash
ADD <Location-where-you-downloaded-the-tar-file>/sumologic-extension-<architecture>.tar.gz /opt/extensions
```
##### Clean up any hidden files from the extracted content
```bash
RUN find /opt/extensions -type f -name ".*" -delete
```
:::note
Any file placed under /opt/extensions is treated as an executable. Hidden files (such as ._filename) or non-binary files in this directory may also be executed, potentially causing unexpected behavior.
:::
1. Validate if the extension is added to the directory and execute the command below.

```bash
docker run -it --entrypoint sh <ImageName>:<ImageTag>
Expand Down