From 4e42dc8aa044691cff0fd10937db2388fc650819 Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Mon, 19 Jan 2026 15:08:59 +0100 Subject: [PATCH 1/6] fix issue with referencing the GH_ACTION_VERSION using 'github.head_ref' that caused problems for branch-names containing '/' --- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/ephemeral.yml | 11 ++++++++--- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8da7874..f13d224 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - name: Run Tests Against LocalStack run: | @@ -59,7 +59,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - name: Run Version Test Against LocalStack run: | @@ -86,7 +86,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - name: Run AWS commands run: | @@ -104,7 +104,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} local-state-test: name: 'Test Local State Action' @@ -129,7 +129,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - name: Run AWS Commands run: | @@ -150,4 +150,4 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} diff --git a/.github/workflows/ephemeral.yml b/.github/workflows/ephemeral.yml index 58dbcee..ffefdb4 100644 --- a/.github/workflows/ephemeral.yml +++ b/.github/workflows/ephemeral.yml @@ -1,5 +1,10 @@ name: LocalStack Ephemeral Instance Test -on: pull_request +on: + pull_request: + paths-ignore: + - ./*.md + - LICENSE + workflow_dispatch: jobs: preview-test: @@ -26,7 +31,7 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} PREVIEW_CMD: |- awslocal s3 mb s3://test-bucket awslocal sqs create-queue --queue-name=test-queue @@ -78,4 +83,4 @@ jobs: } env: LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} From 909211a2e3dda973aa64b974e44896b63bfe2586 Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Wed, 21 Jan 2026 10:04:42 +0100 Subject: [PATCH 2/6] update upload/download-artifact version --- local/action.yml | 5 +++-- prepare/action.yml | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/local/action.yml b/local/action.yml index e28824d..7dae121 100644 --- a/local/action.yml +++ b/local/action.yml @@ -1,4 +1,5 @@ name: 'Save/Load LocalStack state' +description: 'Save or load LocalStack state' inputs: name: @@ -17,7 +18,7 @@ runs: - name: Download current workflow's Local State artifact id: get-state-artifact if: ${{ inputs.action == 'load' }} - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v6 continue-on-error: true with: name: ${{ inputs.name }} @@ -48,7 +49,7 @@ runs: ACTION: "${{ inputs.action }}" - name: Upload LocalStack State - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 if: ${{ inputs.action == 'save' }} with: name: ${{ inputs.name }} diff --git a/prepare/action.yml b/prepare/action.yml index 0b48846..8b0e2c2 100644 --- a/prepare/action.yml +++ b/prepare/action.yml @@ -1,4 +1,5 @@ name: Start CI Build +description: Start CI Build inputs: github-token: @@ -16,7 +17,7 @@ runs: run: echo ${{ github.event.number }} > ./pr-id.txt - name: Upload PR number - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: pr-id path: ./pr-id.txt From 5c9cff796bb46393c93e2fcf0393cc44a635dcd8 Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Wed, 21 Jan 2026 10:52:28 +0100 Subject: [PATCH 3/6] adapt ci tests - fully test remote and local pod creation+loading --- .github/workflows/ci.yml | 156 +++++++++++++++++++++++++++------------ 1 file changed, 109 insertions(+), 47 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f13d224..fd20e79 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,35 +9,6 @@ on: - cron: '48 23 * * 0' jobs: - localstack-action-test: - name: 'Test LocalStack GitHub Action' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - - # We must hack the action call as remote to be able to use the relative paths - # Could it break with different CWD? 🤔 - - name: Start LocalStack - uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1 - with: - uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} - with: |- - { - "image-tag": "latest", - "install-awslocal": "true", - "configuration": "DEBUG=1", - "use-pro": "true", - } - env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} - GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - - - name: Run Tests Against LocalStack - run: | - awslocal s3 mb s3://test - awslocal s3 ls - echo "Test Execution complete!" - localstack-action-version-test: name: 'Test LocalStack Version with Github Actions' runs-on: ubuntu-latest @@ -66,9 +37,11 @@ jobs: LS_VERSION=$(docker ps | grep localstack | cut -d " " -f4 | cut -d ":" -f2) exit $(test "x${LS_VERSION}" = "x3.2.0") - cloud-pods-test: + cloud-pods-save-test: name: 'Test Cloud Pods Action' runs-on: ubuntu-latest + outputs: + pod-name: ${{ steps.pod_name.outputs.name }} steps: - name: ⚡️ Checkout the repository uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 @@ -85,9 +58,13 @@ jobs: "use-pro": "true", } env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} + - name: Generate random pod name + id: pod_name + run: echo "name=cloud-pods-test-$RANDOM" >> $GITHUB_OUTPUT + - name: Run AWS commands run: | awslocal s3 mb s3://test @@ -99,21 +76,29 @@ jobs: uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} with: |- { - "state-name": "cloud-pods-test", + "state-name": "${{ steps.pod_name.outputs.name }}", "state-action": "save", } env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - local-state-test: - name: 'Test Local State Action' + - name: Verify Cloud Pod + run: | + localstack pod list | grep ${{ steps.pod_name.outputs.name }} + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} + + + load-cloud-pod-test: + name: 'Test Loading Cloud Pod' runs-on: ubuntu-latest + needs: cloud-pods-save-test steps: - name: ⚡️ Checkout the repository uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 - - name: Start LocalStack + - name: Start LocalStack and Load Pod uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1 with: uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} @@ -123,20 +108,64 @@ jobs: "install-awslocal": "true", "configuration": "DEBUG=1", "use-pro": "true", - "state-name": "cloud-pods-test", - "state-action": "load", - "state-backend": "local", + "state-name": "${{ needs.cloud-pods-save-test.outputs.pod-name }}", + "state-action": "load" } env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - - name: Run AWS Commands + - name: Verify loaded resources run: | - awslocal s3 mb s3://test - awslocal s3 rb s3://test - awslocal sqs create-queue --queue-name test-queue - awslocal sqs delete-queue --queue-url $(awslocal sqs get-queue-url --queue-name test-queue --output text) + echo "Verifying S3 bucket..." + awslocal s3 ls | grep "test" + echo "Verifying SQS queue..." + awslocal sqs list-queues | grep "test-queue" + + - name: Clean up remote pod + run: localstack pod delete ${{ needs.cloud-pods-save-test.outputs.pod-name }} + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} + + + - name: Verify successful cleanup of Cloud Pod + run: | + echo "Verifying that the pod has been deleted..." + if localstack pod list | grep -q ${{ needs.cloud-pods-save-test.outputs.pod-name }}; then + echo "Cleanup failed! Pod ${{ needs.cloud-pods-save-test.outputs.pod-name }} was not deleted." + exit 1 + fi + echo "Pod successfully deleted." + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} + + + local-state-save-test: + name: 'Test Local State Save Action' + runs-on: ubuntu-latest + steps: + - name: ⚡️ Checkout the repository + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + + - name: Start LocalStack + uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1 + with: + uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} + with: |- + { + "image-tag": "latest", + "install-awslocal": "true", + "configuration": "DEBUG=1", + "use-pro": "true", + } + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} + GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} + + - name: Run AWS commands + run: | + awslocal s3 mb s3://test-local + awslocal sqs create-queue --queue-name test-queue-local - name: Save the State Artifact uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1 @@ -144,10 +173,43 @@ jobs: uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} with: |- { - "state-name": "cloud-pods-test", + "state-name": "local-pods-test", "state-action": "save", "state-backend": "local", } env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} + + local-state-load-test: + name: 'Test Local State Load Action' + needs: local-state-save-test + runs-on: ubuntu-latest + steps: + - name: ⚡️ Checkout the repository + uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 + + - name: Start LocalStack + uses: jenseng/dynamic-uses@8bc24f0360175e710da532c4d19eafdbed489a06 # v1 + with: + uses: LocalStack/setup-localstack@${{ env.GH_ACTION_VERSION }} + with: |- + { + "image-tag": "latest", + "install-awslocal": "true", + "configuration": "DEBUG=1", + "use-pro": "true", + "state-name": "local-pods-test", + "state-action": "load", + "state-backend": "local", + } + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_API_KEY }} + GH_ACTION_VERSION: ${{ github.event_name == 'pull_request' && github.head_ref || github.ref_name }} + + - name: Run AWS Commands + run: | + echo "Verifying S3 bucket..." + awslocal s3 ls | grep "test-local" + echo "Verifying SQS queue..." + awslocal sqs list-queues | grep "test-queue-local" \ No newline at end of file From 56fcb0fc1218945e7494077ab54a1ddd0f337398 Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Wed, 21 Jan 2026 16:08:12 +0100 Subject: [PATCH 4/6] add description to actions and replace reference to api-key with auth token --- .github/workflows/ci.yml | 3 ++- action.yml | 2 +- cloud-pods/action.yml | 1 + finish/action.yml | 1 + startup/action.yml | 5 +++-- tools/action.yml | 1 + 6 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd20e79..4fb6b0c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,8 @@ jobs: "use-pro": "true", } env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + # intentially left `LOCALSTACK_API_KEY` as env here, to ensure the fallback still works for old version + LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} GH_ACTION_VERSION: ${{ (github.event_name == 'pull_request' && github.event.pull_request.head.sha) || github.ref_name }} - name: Run Version Test Against LocalStack diff --git a/action.yml b/action.yml index f7ff4c3..e889eee 100644 --- a/action.yml +++ b/action.yml @@ -16,7 +16,7 @@ inputs: required: true default: 'true' use-pro: - description: 'Whether to use LocalStack Pro (requires a valid API key)' + description: 'Whether to use LocalStack Pro (requires a valid CI Auth Token)' required: false default: 'false' configuration: diff --git a/cloud-pods/action.yml b/cloud-pods/action.yml index 8058c1c..da73596 100644 --- a/cloud-pods/action.yml +++ b/cloud-pods/action.yml @@ -1,4 +1,5 @@ name: 'Save/Load a LocalStack Cloud Pod' +description: 'Save or load a LocalStack Cloud Pod' inputs: name: diff --git a/finish/action.yml b/finish/action.yml index a8e539c..ac3be0b 100644 --- a/finish/action.yml +++ b/finish/action.yml @@ -1,4 +1,5 @@ name: Finish CI Build +description: Finish CI Build inputs: github-token: diff --git a/startup/action.yml b/startup/action.yml index 6cc3a2a..3cc4361 100644 --- a/startup/action.yml +++ b/startup/action.yml @@ -1,4 +1,5 @@ name: 'Start up Localstack' +description: 'Starts up Localstack' inputs: image-tag: @@ -10,7 +11,7 @@ inputs: required: true default: 'true' use-pro: - description: 'Whether to use LocalStack Pro (requires a valid API key)' + description: 'Whether to use LocalStack Pro (requires a valid CI Auth Token)' required: false default: 'false' configuration: @@ -62,7 +63,7 @@ runs: run: | if [ "$USE_PRO" = true ]; then if [ "x$LOCALSTACK_AUTH_TOKEN" = "x" -o "x$LOCALSTACK_API_KEY" = "x" ]; then - echo "WARNING: LocalStack API key not detected, please verify your configuration..." + echo "WARNING: LocalStack Auth Token not detected, please verify your configuration..." fi CONFIGURATION="DNS_ADDRESS=127.0.0.1 ${CONFIGURATION}" IMAGE_NAME="${IMAGE_NAME:-localstack/localstack-pro:${IMAGE_TAG}}" diff --git a/tools/action.yml b/tools/action.yml index ee90f84..b4b1c33 100644 --- a/tools/action.yml +++ b/tools/action.yml @@ -1,4 +1,5 @@ name: 'Install Localstack tools' +description: 'Installs `localstack` and optionally `awslocal` CLI' inputs: install-awslocal: From fdd4e06fb3b5ee176e995e71f44dd6cdc102876b Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Wed, 21 Jan 2026 16:15:47 +0100 Subject: [PATCH 5/6] change referenced of LOCALSTACK_API_KEY to LOCALSTACK_AUTH_TOKEN in README --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 817a293..c18a055 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A GitHub Action to setup [LocalStack](https://github.com/localstack/localstack) on your GitHub Actions runner workflow by: - Pulling a specific version of the LocalStack Docker Image into the GitHub Action runner. -- Configuring the [LocalStack CLI](https://docs.localstack.cloud/get-started/#localstack-cli) to launch the Docker container with an optional API token for pro usage. +- Configuring the [LocalStack CLI](https://docs.localstack.cloud/get-started/#localstack-cli) to launch the Docker container with an optional Auth Token for pro usage. - Installing [LocalStack AWS CLI](https://github.com/localstack/awscli-local), a thin wrapper around the `aws` command line interface for use with LocalStack to run integration tests over AWS services. - Export/import [LocalStack state](https://docs.localstack.cloud/user-guide/state-management/export-import-state/) as an artifact - Save/load [LocalStack Cloud Pods](https://docs.localstack.cloud/user-guide/state-management/cloud-pods/) @@ -23,9 +23,9 @@ A GitHub Action to setup [LocalStack](https://github.com/localstack/localstack) image-tag: 'latest' install-awslocal: 'true' env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ``` -> **NOTE**: The `LOCALSTACK_API_KEY` environment variable is required to be set if `use-pro` is set to `true`. +> **NOTE**: The `LOCALSTACK_AUTH_TOKEN` environment variable is required to be set if `use-pro` is set to `true`. If the key is not found LocalStack by default falls back to the CE edition and displays a warning. ### Install only CLIs and startup later @@ -43,7 +43,7 @@ If the key is not found LocalStack by default falls back to the CE edition and d with: image-tag: 'latest' env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ``` ### Save a state later on in the pipeline @@ -56,9 +56,9 @@ If the key is not found LocalStack by default falls back to the CE edition and d state-action: save state-name: my-cloud-pod env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ``` -> **NOTE**: The `LOCALSTACK_API_KEY` environment variable is required to be set to save/load LocalStack's state either as a Cloud Pod or as a file artifact. +> **NOTE**: The `LOCALSTACK_AUTH_TOKEN` environment variable is required to be set to save/load LocalStack's state either as a Cloud Pod or as a file artifact. ### Load an already saved state ```yml @@ -70,11 +70,11 @@ If the key is not found LocalStack by default falls back to the CE edition and d state-action: load state-name: my-cloud-pod env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ``` > **NOTE**: To load a **local state** from a different GitHub Actions workflow, one must set the `WORKFLOW_ID` environment variable. -> **NOTE**: The `LOCALSTACK_API_KEY` environment variable is required to be set to **save/load** LocalStack's state either as a Cloud Pod or as a file artifact. +> **NOTE**: The `LOCALSTACK_AUTH_TOKEN` environment variable is required to be set to **save/load** LocalStack's state either as a Cloud Pod or as a file artifact. ### Manage Application Previews (on an Ephemeral Instance) ```yml @@ -88,7 +88,7 @@ uses: LocalStack/setup-localstack@v0.2.3 # Optional script/command to run preview-cmd: deploy.sh env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ... @@ -99,7 +99,7 @@ with: state-backend: ephemeral state-action: stop env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} ``` ## Inputs @@ -122,7 +122,7 @@ with: | `state-action` | Valid values are `load`, `save`, `start`, `stop`, `` (empty, don't manage state). Values `start`/`stop` only usable with app previews. | `` | | `state-backend` | Either store the state of LocalStack locally, as a Cloud Pod or start an Ephemeral Instance. Valid values are `cloud-pods`, `ephemeral` or `local`. Use this option in unison with `state-action` to control behaviour. | `cloud-pods` | | `state-name` | Name of the state artifact (without extension) | `false` | -| `use-pro` | Whether to use the Pro version of LocalStack (requires API key to be configured) | `false` | +| `use-pro` | Whether to use the Pro version of LocalStack (requires Auth Token to be configured) | `false` | ## Example workflow ```yml @@ -147,7 +147,7 @@ jobs: state-action: load state-name: my-cloud-pod env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} - name: Run Tests against LocalStack run: | @@ -162,7 +162,7 @@ jobs: state-action: save state-name: my-ls-state-artifact env: - LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} WORKFLOW_ID: ${{ env.MY_GOLDEN_LS_STATE }} ``` From 2165e99c86c2836e4f388e541e99b20a929179d8 Mon Sep 17 00:00:00 2001 From: Stefanie Plieschnegger Date: Wed, 21 Jan 2026 16:21:09 +0100 Subject: [PATCH 6/6] changed year and ownership in the LICENSE file --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 8061eeb..dc9b6f9 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2022 Harsh Mishra +Copyright (c) 2022-2026 LocalStack Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal