Skip to content

docs(lstk): update CLI reference to v0.15.0#749

Open
gtsiolis wants to merge 1 commit into
aws-docs-release-julyfrom
claude/sleepy-ritchie-lvio4k
Open

docs(lstk): update CLI reference to v0.15.0#749
gtsiolis wants to merge 1 commit into
aws-docs-release-julyfrom
claude/sleepy-ritchie-lvio4k

Conversation

@gtsiolis

@gtsiolis gtsiolis commented Jul 2, 2026

Copy link
Copy Markdown
Member

What

Brings the lstk CLI reference up to date with the current CLI surface. This is the first automated pass triggered by the v0.15.0 release, so it was a full audit of the live CLI (lstk --help and every subcommand) against the doc rather than a single-release diff.

The doc was last expanded around v0.12/v0.13 and had never documented several features that already shipped by then. This PR catches up the full backlog through v0.15.0.

Additions

  • CLI/IaC proxy tools — new sections for az (incl. az start-interception / az stop-interception), terraform (alias tf), cdk, and sam: usage, the leading --region/--account flags, offline-vs-running-emulator behavior, minimum tool versions, and supported env vars (AWS_ENDPOINT_URL, LSTK_TF_CMD, LSTK_SAM_CMD, LSTK_CDK_CMD, etc.).
  • setup azure — isolated AZURE_CONFIG_DIR setup that routes lstk az to the Azure emulator.
  • snapshot show — new subcommand (cloud-only).
  • S3 remotessnapshot save/load/list now accept s3://bucket/prefix with a separate pod-name positional and a --profile flag; documented credential precedence and the running-emulator requirement for list s3://….
  • Snapshot auto-load on start — the snapshot config field, plus global --snapshot <ref> / --no-snapshot flags.
  • Config fieldsimage (Docker image override), volumes (bind mounts) with a new Volume mounts section, and snapshot.
  • Extensions — new section documenting Git-style lstk-<name> dispatch and the LSTK_EXT_* runtime context.
  • Noted that host LOCALSTACK_-prefixed env vars are forwarded to the emulator on start.

Corrections (stale content)

  • setup aws is no longer interactive-only: it now has a --force flag and a non-interactive mode (writes the profile with defaults and exits 0). Removed the "requires an interactive terminal / no flag to auto-confirm" note.
  • snapshot now works for the Snowflake and Azure emulators too, with an experimental-support warning — it is no longer AWS-only. Only reset remains strictly AWS-only. Updated the "four subcommands" count to five.

Needs a human eye

  • Public-messaging wording for the experimental Snowflake/Azure snapshot warning and the CDK/SAM "known limitations vs. samlocal/azlocal" notes — I mirrored the CLI's own phrasing, but confirm it matches how we want to position maturity externally.
  • The tool proxies (az/terraform/cdk/sam) and extensions are documented inline in the reference; if a fuller standalone guide is planned, these sections may want to link out to it later.

Cc @localstack/devx for visibility and any corrections.


Generated by Claude Code

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 02bc8e5
Status: ✅  Deploy successful!
Preview URL: https://6ad9a721.localstack-docs.pages.dev
Branch Preview URL: https://claude-sleepy-ritchie-lvio4k.localstack-docs.pages.dev

View logs

Bring the lstk CLI reference up to date with the current CLI surface
(last documented around v0.12/v0.13, now v0.15.0):

- Document the CLI/IaC proxy tools: az (+ start/stop-interception),
  terraform (tf), cdk, sam.
- Add setup azure; correct setup aws (now has --force and a
  non-interactive mode, no longer interactive-only).
- Add snapshot show and S3-remote support for snapshot save/load/list
  (--profile, credential precedence, running-emulator requirement).
- Note snapshot now works for Snowflake/Azure with an experimental
  warning; only reset stays AWS-only.
- Add global --snapshot/--no-snapshot flags and snapshot auto-load on
  start; document LOCALSTACK_ env forwarding.
- Add config fields image, volumes, and snapshot; add a Volume mounts
  section.
- Add an Extensions section.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QRmA1n8vtvoT3DnGQzRk87
@gtsiolis gtsiolis force-pushed the claude/sleepy-ritchie-lvio4k branch from 9130fa3 to 02bc8e5 Compare July 2, 2026 12:32
@gtsiolis gtsiolis changed the base branch from main to aws-docs-release-july July 2, 2026 12:33
@gtsiolis

gtsiolis commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

Not sure why @nik-localstack and @pinzon were added above[1] as reviewers. Cc @quetzalliwrites @remotesynth

@gtsiolis

gtsiolis commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

Cc @mmaureenliu for visibility

@gtsiolis gtsiolis requested review from a team, carole-lavillonniere and mmaureenliu and removed request for nik-localstack and pinzon July 2, 2026 13:51
@quetzalliwrites

Copy link
Copy Markdown
Collaborator

@gtsiolis hey! the reason it pings the other two folks is because our codeowner's file is going to add the engineer service owner listed

gtsiolis commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

Ah, I see. But the file mentioned[1] has nothing to do with the change in this PR, maybe it's a fallback or I guess we don't have an engineer assigned for the lstk CLI?

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