Skip to content

DOC-431: Fix remaining localstack/awslocal/tflocal mentions in AWS docs - #928

Open
quetzalliwrites wants to merge 1 commit into
mainfrom
doc-431-docs-aws-fix-remaining-mention-of-localstack-that-should-be
Open

DOC-431: Fix remaining localstack/awslocal/tflocal mentions in AWS docs#928
quetzalliwrites wants to merge 1 commit into
mainfrom
doc-431-docs-aws-fix-remaining-mention-of-localstack-that-should-be

Conversation

@quetzalliwrites

@quetzalliwrites quetzalliwrites commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Sweeps the AWS docs for remaining mentions of the legacy localstack CLI and the awslocal/tflocal/cdklocal wrapper scripts that have lstk equivalents:

  • getting-started/faq.mdx: localstack start / localstack --versionlstk start / lstk --version. Left the host-side --debug flag and localstack auth show-token alone — neither has a documented lstk equivalent.
  • getting-started/ci-cd.mdx: rewrote all six CI provider tabs (GitHub Actions, CircleCI, Bitbucket, CodeBuild, GitLab CI, Travis CI) to mirror the already-migrated per-provider guides under /aws/ci-pipelines/.
  • services/elb.mdx: the GATEWAY_LISTEN=... localstack start example now uses LOCALSTACK_GATEWAY_LISTEN=... lstk start, matching how lstk start forwards LOCALSTACK_-prefixed host env vars into the container.
  • developer-tools/security-testing/iam-policy-simulator.md, iam-policy-enforcement.md, developer-tools/aws-replicator/index.mdx, quickstart-library/k8s-quickstart.md, getting-started/local-development.mdx, getting-started/ai-workflows.mdx: awslocal/tflocallstk aws/lstk terraform.

Deliberately left unchanged: tutorials/ephemeral-application-previews.mdx. The ticket flagged its awslocal/cdklocal mentions, but the whole tutorial documents Ephemeral Instances, which the lstk migration guide explicitly lists as not yet supported by lstk (the localstack CLI is still required). Converting those mentions would document a workflow that doesn't actually work. cc @mmaureenliu

Linear ticket

https://linear.app/localstack/issue/DOC-431/docs-aws-fix-remaining-mention-of-localstack-that-should-be-lstk-in

Test plan

  • npx astro build completes successfully (417 pages built)
  • Link validator confirms all internal links are valid
  • Verified no remaining awslocal/tflocal/cdklocal/bare localstack command references in the files the ticket calls out, aside from the deliberate exception noted above

…lstk

Sweeps the AWS docs for lingering references to the legacy `localstack`
CLI and the `awslocal`/`tflocal`/`cdklocal` wrapper scripts that have
lstk equivalents:

- getting-started/faq.mdx: `localstack start`/`localstack --version`
  commands. Left the `--debug` flag and `auth show-token` mentions
  alone, since lstk has no documented equivalent for either.
- getting-started/ci-cd.mdx: rewrote the CI provider tabs to mirror
  the already-migrated per-provider guides under /aws/ci-pipelines/.
- services/elb.mdx: GATEWAY_LISTEN startup example now uses
  LOCALSTACK_GATEWAY_LISTEN with lstk start.
- security-testing/iam-policy-simulator.md and iam-policy-enforcement.md,
  developer-tools/aws-replicator/index.mdx, quickstart-library/k8s-quickstart.md,
  getting-started/local-development.mdx, getting-started/ai-workflows.mdx:
  awslocal/tflocal -> lstk aws/lstk terraform.

Left tutorials/ephemeral-application-previews.mdx untouched: it documents
Ephemeral Instances, which the lstk migration guide lists as not yet
supported by lstk, so its awslocal/cdklocal usage is still correct.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 693d4dc
Status: ✅  Deploy successful!
Preview URL: https://287a74c8.localstack-docs.pages.dev
Branch Preview URL: https://doc-431-docs-aws-fix-remaini.localstack-docs.pages.dev

View logs

@nik-localstack nik-localstack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I couldn't verify the elb change. Please take a look.


```bash
GATEWAY_LISTEN=0.0.0.0:4566,0.0.0.0:80,0.0.0.0:8080 localstack start
LOCALSTACK_GATEWAY_LISTEN=0.0.0.0:4566,0.0.0.0:80,0.0.0.0:8080 lstk start

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

For me this doesn't forward the environment variable in the LocalStack container. You probably have to use a lstk config file to achieve this.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@anisaoshafi Our documented method of passing env var to the container is via the lstk config file. Do we want to say that's the only supported way? Is inline env var only valid for configuring lstk itself? Would you be able to suggest edits to https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/configuration/ and/or https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/automation/ to make that very clear?

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

Mostly good except two points:

  • I think some config in CI-CD wouldn't work but I defer to @peter-smith-phd to confirm accuracy and suggest correct fix
  • As @nik-localstack pointed out, GATEWAY_LISTEN has to be defined in lstk config, not as inline env var

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@peter-smith-phd can you check the CI config for accuracy please? E.g. there are cases where LocalStack is started using Docker (bitbucket case) so lstk aws needs the --endpoint-url flag?


```bash
GATEWAY_LISTEN=0.0.0.0:4566,0.0.0.0:80,0.0.0.0:8080 localstack start
LOCALSTACK_GATEWAY_LISTEN=0.0.0.0:4566,0.0.0.0:80,0.0.0.0:8080 lstk start

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

@anisaoshafi Our documented method of passing env var to the container is via the lstk config file. Do we want to say that's the only supported way? Is inline env var only valid for configuring lstk itself? Would you be able to suggest edits to https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/configuration/ and/or https://docs.localstack.cloud/aws/developer-tools/running-localstack/lstk/automation/ to make that very clear?

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.

3 participants