Skip to content

New pattern for SQS-Lambda-S3 using Terraform and Python #2702

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sidd130
Copy link

@sidd130 sidd130 commented Mar 29, 2025

Issue #, if available:
#2703

Description of changes:
This PR is being submitted for a new pattern addition for integration of SQS with S3 using Lambda. The pattern consists of an example, where the Lambda handler is written in Python and the AWS resources are created using Terraform.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sidd130 and others added 4 commits April 19, 2025 02:43
Added variables.tf.
Updated README with instructions to change values in variables.tf instead of lambda handler.py and main.tf.
Updated README to exclude instruction for manually compressing lambda handler.
Updated main.tf to use bucket name and AWS region from variables.tf, and also include environment variables for Lambda function.
Updated handler.py to reference environments variables for AWS region and bucket name.
Updated environment variable name to AWS_REGION_NAME.
Removed credentials input in lambda handler, to leverage on AWS CLI profile.
Updatd README on include instructions for AWS CLI configuration.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants