localstack/Setup LocalStack

Sets up LocalStack CLI in your GitHub Actions workflow.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: localstack/setup-localstack@7c8a0cb3405bc58be4c8f763f812aa000bc46303 # v0.3.2

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
image-tagTag of the LocalStack Docker image to useyeslatest
install-awslocalWhether to install the `awslocal` CLI into the environmentyestrue
use-proDeprecated. Whether to use LocalStack Pro (requires a valid CI Auth Token)notrue
configurationConfiguration variables to use for LocalStackno""
ci-projectName of the CI project to track in LocalStack Cloudno""
github-tokenGithub token used to create PR commentsno""
preview-cmdCommand(s) used to create an Ephemeral Instance of the PR (can use $AWS_ENDPOINT_URL)no
include-previewWhether to include the created Ephemeral Instance URL in the PR commentno
skip-startupExplicitly prevent LocalStack start up, only installs CLI(s). Recommended to manage state later on in the pipeline or start up an ephemeral instance yesfalse
skip-waitSkip wait for LocalStacknofalse
skip-pullSkip pulling the LocalStack Docker image. Use when the image is already present locally (e.g. restored from a CI cache via `docker load`).nofalse
skip-ephemeral-stopSkip stopping LocalStack Ephemeral Instancenotrue
state-actionManage LocalStack state Valid values are `load`, `save`, `start`, `stop`, `` (empty, don't manage state) Values `start`/`stop` only usable with Ephemeral Instances. no""
state-backendEither store the state of LocalStack locally, as a cloud pod or start up an ephemeral instance. Valid values are `cloud-pods`, `ephemeral` or `local`. Use this option in unison with `state-action` to control behaviour. nocloud-pods
state-nameName of the state artifact (without extension)no
auto-load-podThe pod to load on startup of LocalStack, the env var AUTO_LOAD_PODno""
extension-auto-installThe extension(s) to automatically install on startup of LocalStack, the env var EXTENSION_AUTO_INSTALLno""
lifetimeThe lifetime of the ephemeral instance, how long the instance should be available forno30

no outputs