Skip to content

Migrate from the localstack CLI to lstk - #19

Merged
peter-smith-phd merged 3 commits into
masterfrom
devx-989-migrate-to-lstk
Jul 30, 2026
Merged

Migrate from the localstack CLI to lstk#19
peter-smith-phd merged 3 commits into
masterfrom
devx-989-migrate-to-lstk

Conversation

@peter-smith-phd

@peter-smith-phd peter-smith-phd commented Jul 28, 2026

Copy link
Copy Markdown

Summary

  • Replace localstack CLI usage in the Makefile, README, and CI workflow with lstk equivalents.
  • Add a checked-in .lstk/config.toml (auto-discovered by lstk) for the image/tag/log-level settings that have no env-var equivalent.
  • Swap the in-container awslocal calls in the integration tests for aws --endpoint-url=http://localhost:4566
  • Fail fast with a clear error when LOCALSTACK_AUTH_TOKEN is unset.
  • Bump several dependencies to newer versions, necessary to get tests to pass.

Testing

  • Manually executed instructions in README
  • Manually forced a CI workflow run.

🤖 Generated with Claude Code

peter-smith-phd and others added 3 commits July 28, 2026 11:26
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Replace localstack CLI usage across the Makefile, README, and CI workflow
with the lstk equivalents (lstk start/stop/logs/tf), install lstk in CI via
npm instead of the setup-localstack action, and add a checked-in
.lstk/config.toml for the image/tag/log-level settings that have no env-var
equivalent.

Also fixes a few things surfaced while getting `make test`/CI green again:
bump Lombok and Testcontainers so the build works on current JDK/Docker
versions, swap the in-container awslocal calls for `aws --endpoint-url`
(lstk itself can't run inside the LocalStack container), and fail fast with
a clear message when LOCALSTACK_AUTH_TOKEN is missing instead of silently
waiting out Testcontainers' ~60s readiness timeout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
CI failed with "invalid container config: port is required for aws emulator"
since .lstk/config.toml omitted the port field. Also gitignore the lstk.log
file lstk writes next to a --config path when run locally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@peter-smith-phd
peter-smith-phd marked this pull request as ready for review July 28, 2026 00:23
@peter-smith-phd
peter-smith-phd merged commit 20f70a8 into master Jul 30, 2026
1 check passed
@peter-smith-phd
peter-smith-phd deleted the devx-989-migrate-to-lstk branch July 30, 2026 22:04
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.

1 participant