Add post-start tip suggesting lstk deploy for IaC workspaces - #523
Merged
Merged
Conversation
Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
lstk deploycan 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 runlstk deploy, but only if the current workspace contains IaC code.Solution
> Tip: Deploy your Terraform project to LocalStack: lstk deploy(or whatever the IaC tool is).lstk deploy detectcommand to learn if there's IaC in the workspace to be deployed.internal/container/tipspackage.container.Startremains the only emit site, so the one-tip-per-run rule is unchanged.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 deployis documented on its own.Closes DPX-520
Co-Authored-By: Claude noreply@anthropic.com