Migrate samples to lstk, away from awslocal and tflocal#17
Open
peter-smith-phd wants to merge 5 commits into
Open
Migrate samples to lstk, away from awslocal and tflocal#17peter-smith-phd wants to merge 5 commits into
peter-smith-phd wants to merge 5 commits into
Conversation
Standardize all samples on the lstk CLI for starting LocalStack and running Terraform, replacing the awslocal/tflocal wrappers. Modernizing the examples along the way was necessary to get them deploying and passing again: fix API Gateway deployment ordering, use $default stages for HTTP APIs, add missing stages/permissions, and bump deprecated runtimes and service versions. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Collapse the two root Makefile `lint` targets into one (terraform fmt), removing the "overriding commands for target lint" warning. The lint target now skips the sample-archive directory. Replace deprecated data.aws_region.current.id with .region in apigatewayv2-ws-request-authorizer to clear the Terraform deprecation warning. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0c98d04 to
9cd2e31
Compare
Reformat files flagged by `make lint` (whitespace/alignment only). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <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.
Summary
As part of our migration to using
lstkas the default CLI for LocalStack, this PR updates the Terraform samples. Standardizes all samples on using thelstkCLI for starting LocalStack and running Terraform, replacing theawslocal/tflocalwrappers currently used.Details:
common.mk. All other Makefiles simply reference this common code.lstk.lstk terraformfeature that was recently launched.Testing
Ran
make ci-test-alland confirmed that each sample deploys correctly, without any deprecation warnings.🤖 Generated with Claude Code