Skip to content

chore: allow to use local cache in ec2 lambdas#297

Merged
edersonbrilhante merged 4 commits into
mainfrom
chore-allow-local-lambdas-ec2
Jun 10, 2026
Merged

chore: allow to use local cache in ec2 lambdas#297
edersonbrilhante merged 4 commits into
mainfrom
chore-allow-local-lambdas-ec2

Conversation

@edersonbrilhante

@edersonbrilhante edersonbrilhante commented Mar 6, 2026

Copy link
Copy Markdown
Member

Description

Adds support for using locally cached EC2 runner lambda artifacts during Terraform execution.

The download_lambdas.sh helper now checks USE_CACHE and CACHE_PATH; when both are set and the cache path exists, it skips downloading lambda artifacts and returns the cache path to Terraform. The EC2 deployment module now uses that returned path for the webhook, runner binaries syncer, and runners lambda zip files.

This also updates the tenant configuration template to use placeholders for runner user, VPC, subnet, placement, license specification, and dedicated host settings instead of hard-coded example values.

Type of Change

  • Bug Fix
  • New Feature
  • Breaking Change
  • Refactor
  • Documentation
  • Other (please describe)

Checklist

  • I have read the contributing guidelines
  • Existing issues have been referenced (where applicable)
  • I have verified this change is not present in other open pull requests
  • Functionality is documented
  • All code style checks pass
  • New code contribution is covered by automated tests
  • All new and existing tests pass

@edersonbrilhante edersonbrilhante force-pushed the chore-allow-local-lambdas-ec2 branch 5 times, most recently from 619c844 to 60b9b14 Compare March 10, 2026 11:26
@edersonbrilhante edersonbrilhante force-pushed the chore-allow-local-lambdas-ec2 branch from d9f0b90 to 56c15a7 Compare June 10, 2026 09:13
@edersonbrilhante edersonbrilhante force-pushed the chore-allow-local-lambdas-ec2 branch from 56c15a7 to e0e78a5 Compare June 10, 2026 09:17

@artemburlaka artemburlaka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM

@edersonbrilhante edersonbrilhante merged commit a55b66e into main Jun 10, 2026
5 checks passed
@edersonbrilhante edersonbrilhante deleted the chore-allow-local-lambdas-ec2 branch June 10, 2026 09:55
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