Skip to content

Streams userdata log to s3 via kinesis to improve delivery reliability#211

Open
lorengordon wants to merge 2 commits into
plus3it:masterfrom
lorengordon:feat/kinesis-log-streaming
Open

Streams userdata log to s3 via kinesis to improve delivery reliability#211
lorengordon wants to merge 2 commits into
plus3it:masterfrom
lorengordon:feat/kinesis-log-streaming

Conversation

@lorengordon
Copy link
Copy Markdown
Member

No description provided.

@lorengordon lorengordon force-pushed the feat/kinesis-log-streaming branch 2 times, most recently from 401384c to fd63011 Compare May 13, 2026 19:06
lorengordon

This comment was marked as outdated.

Copy link
Copy Markdown

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 adds Kinesis Firehose-based streaming for userdata logs to improve log delivery reliability during build instances, and updates CI cleanup to flush streams before destroying resources.

Changes:

  • Adds Firehose streams, IAM permissions, and outputs for per-build userdata log streaming.
  • Configures Linux and Windows userdata scripts to install/start Kinesis agents and send userdata logs to Firehose.
  • Updates integration workflow cleanup and narrows the tested OS matrix.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
main.tf Adds Firehose/IAM resources and passes stream names into userdata templates.
outputs.tf Exposes Firehose stream names for workflow cleanup.
templates/lx_userdata.sh Configures Linux Kinesis agent and removes per-debug S3 uploads.
templates/win_userdata.ps1 Configures Windows Kinesis Tap and removes heartbeat/debug S3 uploads.
.github/actions/test/action.yml Attempts to reduce Firehose buffering before Terraform destroy.
.github/workflows/test.yml Reduces source and standalone integration test matrices.
README.md Updates generated Terraform docs for new data sources/output.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread main.tf Outdated
Comment thread main.tf
Comment thread .github/workflows/test.yml Outdated
Comment thread .github/workflows/test.yml Outdated
@lorengordon lorengordon force-pushed the feat/kinesis-log-streaming branch from fd63011 to cd55832 Compare May 13, 2026 19:24
lorengordon

This comment was marked as outdated.

@lorengordon lorengordon force-pushed the feat/kinesis-log-streaming branch from cd55832 to f9eea80 Compare May 13, 2026 20:19
lorengordon

This comment was marked as outdated.

@lorengordon lorengordon force-pushed the feat/kinesis-log-streaming branch from f9eea80 to 18fb7ed Compare May 14, 2026 00:30
lorengordon

This comment was marked as outdated.

@lorengordon lorengordon force-pushed the feat/kinesis-log-streaming branch from 18fb7ed to b5882ce Compare May 14, 2026 01:28
Copy link
Copy Markdown
Member Author

@lorengordon lorengordon left a comment

Choose a reason for hiding this comment

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

/build

@lorengordon lorengordon marked this pull request as ready for review May 14, 2026 14:04
@lorengordon lorengordon requested a review from a team May 14, 2026 14:05
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