Add file copier lambda to the local environment#90
Open
liam-lloyd wants to merge 1 commit into
Open
Conversation
Member
Author
|
Testing this is the same as testing PermanentOrg/stela#757, but in your local environment |
There was a problem hiding this comment.
Pull request overview
Adds the File Copier Lambda to the local development environment so local SNS/SQS event flow can invoke it through SAM Local and the SQS-Lambda bridge.
Changes:
- Adds LocalStack SQS queue, policy, and SNS subscription for file copy events.
- Adds FileCopier SAM function, Docker image builder, and start-script env wiring.
- Extends the bridge example config with a FileCopier queue-to-Lambda mapping.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
sqs-lambda-bridge/config.example.json |
Adds a FileCopier bridge entry for the LocalStack queue. |
localstack-init/setup_resources.sh |
Creates and subscribes the FileCopier queue to local SNS events. |
lambda/start-sam-local.sh |
Checks for the FileCopier image and passes its local env vars to SAM. |
lambda/sam_template.yaml |
Defines the FileCopier SAM function and outputs. |
docker-compose.yml |
Adds the FileCopier Lambda image builder and LocalStack dependency. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
We recently added a lambda to stela to handle the asynchronous parts of record copy. This commit adds it to our local environment.
4eee43e to
e6aee3b
Compare
slifty
approved these changes
May 20, 2026
Contributor
slifty
left a comment
There was a problem hiding this comment.
I believe this is working -- I was able to run the copier locally
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We recently added a lambda to stela to handle the asynchronous parts of record copy. This commit adds it to our local environment.