Skip to content

Add post-start tip suggesting lstk deploy for IaC workspaces - #523

Merged
peter-smith-phd merged 2 commits into
mainfrom
dpx-520-add-rotating-tip-for-deploy
Sep 28, 2026
Merged

peter-smith-phd merged 2 commits into
mainfrom
dpx-520-add-rotating-tip-for-deploy

Conversation

@peter-smith-phd

@peter-smith-phd peter-smith-phd commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Motivation

lstk deploy can deploy a workspace's Terraform, CDK, or SAM code into LocalStack, and this change encourages users to run that command. This PR add a new randomly-selected "start-up tip" to encourage the user to run lstk deploy, but only if the current workspace contains IaC code.

Solution

  • New rotating post-start tip: > Tip: Deploy your Terraform project to LocalStack: lstk deploy (or whatever the IaC tool is).
  • Tips can now be backed by a detector function that decides at selection time whether the tip is valid.
  • The deploy detector runs the bundled lstk deploy detect command to learn if there's IaC in the workspace to be deployed.
  • Tip selection moves to a new internal/container/tips package. container.Start remains the only emit site, so the one-tip-per-run rule is unchanged.
image
Docs

Nothing to document. The only user-visible change is a new post-start tip line that explains itself. There are no new commands, flags, env vars, or config keys, and lstk deploy is documented on its own.

Closes DPX-520

Co-Authored-By: Claude noreply@anthropic.com

Co-Authored-By: Claude <noreply@anthropic.com>
@peter-smith-phd peter-smith-phd added semver: minor docs: skip Pull request does not require documentation changes labels Sep 28, 2026
Co-Authored-By: Claude <noreply@anthropic.com>
@peter-smith-phd
peter-smith-phd marked this pull request as ready for review September 28, 2026 21:23
@peter-smith-phd
peter-smith-phd requested a review from a team as a code owner September 28, 2026 21:23
@peter-smith-phd
peter-smith-phd merged commit 30b91d9 into main Sep 28, 2026
20 checks passed
@peter-smith-phd
peter-smith-phd deleted the dpx-520-add-rotating-tip-for-deploy branch September 28, 2026 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs: skip Pull request does not require documentation changes semver: minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant