Skip to content

Conversation

@johnwmail
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings September 5, 2025 06:55
@johnwmail johnwmail merged commit 5b4c63c into deploy/lambda Sep 5, 2025
9 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the AWS Lambda deployment workflow to use the official AWS Lambda deploy action instead of a third-party action, and updates the Docker configuration to use a container registry image.

  • Replaces third-party appleboy/lambda-action with official aws-actions/aws-lambda-deploy@v1
  • Adds manual workflow dispatch capability with optional function name override
  • Updates Docker Compose to use GitHub Container Registry image

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docker/docker-compose.yml Updates image reference to use GitHub Container Registry
.github/workflows/deploy-lambda.yml Complete rewrite of Lambda deployment using official AWS actions with enhanced configuration

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

echo "LAMBDA_FUNCTION_NAME variable is required when no manual input is provided" >&2
exit 1
fi
echo "Using function name from secret"
Copy link

Copilot AI Sep 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The error message is misleading. The function name is retrieved from vars.LAMBDA_FUNCTION_NAME which is a repository variable, not a secret. The message should say 'Using function name from repository variable'.

Suggested change
echo "Using function name from secret"
echo "Using function name from repository variable"

Copilot uses AI. Check for mistakes.
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.

2 participants