Repository navigation
feat: add Lambda and SQS for long-write commands - #16
Conversation
|
✅ Terragrunt HCL formatting has been automatically applied to this PR. |
🔍 Terragrunt Check Results📊 Summary✅ All checks passed!
🔒 Trivy Security Details (0 issue(s))💡 Note: Terragrunt plan is disabled. To enable, configure AWS OIDC credentials in the workflow. 👤 Pusher: @llama90 | 🔄 Action: |
There was a problem hiding this comment.
Pull request overview
This PR introduces infrastructure for processing long-write chatbot commands (build, deploy, etc.) using AWS Lambda and SQS. The implementation uses an event-driven architecture where commands are queued in SQS and processed asynchronously by a Lambda worker.
Changes:
- Added SQS queue with dead letter queue for long-write command messages
- Added Lambda worker function to process long-write commands from the queue
- Configured EventBridge-to-SQS integration with appropriate IAM policies
Reviewed changes
Copilot reviewed 2 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
aws/10-plt/chatbot-command-lw-sqs/terragrunt.hcl |
SQS queue configuration with DLQ, EventBridge permissions, and message retention settings |
aws/10-plt/chatbot-command-lw-sqs/.terraform.lock.hcl |
Terraform lock file for AWS provider version 5.100.0 |
aws/10-plt/chatbot-command-lw-worker/terragrunt.hcl |
Lambda worker configuration with SQS event source mapping, IAM policies, and runtime settings |
aws/10-plt/chatbot-command-lw-worker/.terraform.lock.hcl |
Terraform lock file for AWS provider version 5.100.0 |
Files not reviewed (2)
- aws/10-plt/chatbot-command-lw-sqs/.terraform.lock.hcl: Language not supported
- aws/10-plt/chatbot-command-lw-worker/.terraform.lock.hcl: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot Is your suggestion against the short-read command approach? |
🔍 Terragrunt Check Results📊 Summary✅ All checks passed!
🔒 Trivy Security Details (0 issue(s))💡 Note: Terragrunt plan is disabled. To enable, configure AWS OIDC credentials in the workflow. 👤 Pusher: @llama90 | 🔄 Action: |
No description provided.