Skip to content

Add logs endpoint for swaps - logs.zebra-swaps.zsa-test.net#117

Open
seniakalma wants to merge 2 commits into
zsa-integration-demo-agfrom
arseni-add-logs-to-swaps-node
Open

Add logs endpoint for swaps - logs.zebra-swaps.zsa-test.net#117
seniakalma wants to merge 2 commits into
zsa-integration-demo-agfrom
arseni-add-logs-to-swaps-node

Conversation

@seniakalma

Copy link
Copy Markdown
  • Add a dedicated swaps logs endpoint stack under lambda-swaps.
  • Provision API Gateway, Lambda, IAM role, and log-read/ECR policies for watch-zebra-swaps-logs.
  • Configure the swaps logs Lambda to read /dev/ecs/zebra-swaps-task and expose it via logs.zebra-swaps.zsa-test.net.
  • Allow the CI/CD user to update both the regular logs Lambda and the swaps logs Lambda.

@seniakalma seniakalma requested a review from PaulLaux May 4, 2026 06:57
@seniakalma seniakalma self-assigned this May 4, 2026

@PaulLaux PaulLaux 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.

Looks good with one comment:

LOG_GROUP_NAME env var

  • New lambda sets LOG_GROUP_NAME = "/dev/ecs/zebra-swaps-task"
  • Existing watch-zebra-logs lambda (lambda/lambda/terragrunt.hcl) does not set this env var.

Looks like a potential conflict in the future, no?

Consider to set LOG_GROUP_NAME = "/dev/ecs/zebra-task" explicitly on the original, so no lambda relies on a default.

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