You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This moves the LocalStack in job sam of .github/workflows/main.yml from a Docker container on the runner to a hosted LocalStack sandbox, managed by the LocalStack platform project lambda-sam-authorizer. Everything else in the job runs as before and still reaches LocalStack on localhost:4566.
What changes in .github/workflows/main.yml
Removes the LocalStack start command and its step
Starts LocalStack in a platform sandbox (every run)
Reads the sandbox's LocalStack log with lstk-project logs
Reports the run and releases the sandbox (if: always())
Nothing outside job sam changes. The steps between the # >>> localstack-platform and # <<< localstack-platform comments belong to the platform: "Update steps" on the project page refreshes them.
What you get
A fresh sandbox for every run (push, pull request, schedule)
On pull requests: an agent review with checks, IAM findings and the infrastructure diff, posted on the PR
On the default branch: the project's Cloud Pod and the baseline future PRs are diffed against
Before merging
LOCALSTACK_PLATFORM_AUTH_TOKEN repository secret: already in place. Pull requests from forks get no secrets, so the job fails on them.
LocalStack settings imported into the project: none
Not carried over:
LOCALSTACK_AUTH_TOKEN: the platform passes the project's token
The sandbox runs the platform's current LocalStack Pro.
To undo this later, use "Revert adoption" on the project page; it opens a PR that restores the job's own LocalStack startup and keeps your other edits.
Critical or High security findings on changed resources: 2
Verified the SAM application deployed to the platform sandbox as configured in the updated GitHub Actions workflow. Tested the API Gateway REST API setup, custom Lambda token authorizer, and main Lambda function execution. Confirmed SAM deployment artifacts in S3 and associated IAM roles are properly created and functional.
✅ passed · Run #17 · localstack/adopt-proj_b1e4056f → main @ 471234a · vs latest main run
✨ This CI run shows a redeployment of your SAM application. We've replaced the sam-app-MyFunction and sam-app-MyAuthFunction Lambda functions and their associated IAM roles (sam-app-MyFunctionRole, sam-app-MyAuthFunctionRole), likely due to code changes or updates to their configurations. Additionally, an API Gateway (tkqmsomrpb) has been added while an older one (uzygeyngeq) was removed, indicating a potential update to your API endpoints, and the SAM CLI source S3 bucket was also replaced.
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
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.
This moves the LocalStack in job
samof.github/workflows/main.ymlfrom a Docker container on the runner to a hosted LocalStack sandbox, managed by the LocalStack platform project lambda-sam-authorizer. Everything else in the job runs as before and still reaches LocalStack onlocalhost:4566.What changes in
.github/workflows/main.ymllstk-project logsif: always())Nothing outside job
samchanges. The steps between the# >>> localstack-platformand# <<< localstack-platformcomments belong to the platform: "Update steps" on the project page refreshes them.What you get
Before merging
LOCALSTACK_PLATFORM_AUTH_TOKENrepository secret: already in place. Pull requests from forks get no secrets, so the job fails on them.LOCALSTACK_AUTH_TOKEN: the platform passes the project's tokenTo undo this later, use "Revert adoption" on the project page; it opens a PR that restores the job's own LocalStack startup and keeps your other edits.