From a883d7d93e458d27f93675e0cb11b156c356f2a4 Mon Sep 17 00:00:00 2001 From: Dominik Schubert Date: Fri, 13 Mar 2026 08:56:51 +0100 Subject: [PATCH 1/3] replace reference to archived GH repo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5262ad8..3d9a5bd 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # AWS Cloud Development Kit (CDK) for LocalStack -This project provides a thin wrapper script `cdklocal` for using the [AWS CDK](https://github.com/aws/aws-cdk) library against local APIs provided by [LocalStack](https://github.com/localstack/localstack). +This project provides a thin wrapper script `cdklocal` for using the [AWS CDK](https://github.com/aws/aws-cdk) library against local APIs provided by [LocalStack](https://localstack.cloud). **Note:** This project replaces the [old (deprecated) repo](https://github.com/localstack/aws-cdk) which was a fork of the AWS CDK repo. Instead of forking the repo and applying changes, we now simply provide a simple wrapper script `cdklocal` which applies runtime patching. The advantage of the new approach is that you should be able to use arbitrary CDK versions under the cover. From 1fde0f2066c90a35b07a6dbc082d043a2f141aed Mon Sep 17 00:00:00 2001 From: Dominik Schubert Date: Fri, 13 Mar 2026 08:59:34 +0100 Subject: [PATCH 2/3] update CI to use localstack CI auth token & remove timeout --- .github/workflows/integrations.go.yml | 7 ++++--- .github/workflows/integrations.node.yml | 7 ++++--- .github/workflows/integrations.python.yml | 7 ++++--- .github/workflows/test.yml | 7 ++++--- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/integrations.go.yml b/.github/workflows/integrations.go.yml index 7e18d2b..c2e9b3d 100644 --- a/.github/workflows/integrations.go.yml +++ b/.github/workflows/integrations.go.yml @@ -91,12 +91,13 @@ jobs: working-directory: cdk-test run: cdklocal init app --language=${{ matrix.language }} - - name: Start and wait for localstack (Community) + - name: Start and wait for localstack timeout-minutes: 10 + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} run: | - docker pull localstack/localstack:latest localstack start -d - localstack wait -t 30 + localstack wait - name: Install go dependencies working-directory: cdk-test diff --git a/.github/workflows/integrations.node.yml b/.github/workflows/integrations.node.yml index 0bdc0d8..cbfec8c 100644 --- a/.github/workflows/integrations.node.yml +++ b/.github/workflows/integrations.node.yml @@ -84,12 +84,13 @@ jobs: working-directory: cdk-test run: cdklocal init app --language=${{ matrix.language }} - - name: Start and wait for localstack (Community) + - name: Start and wait for localstack timeout-minutes: 10 + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} run: | - docker pull localstack/localstack:latest localstack start -d - localstack wait -t 30 + localstack wait - name: Run bootstrap working-directory: cdk-test diff --git a/.github/workflows/integrations.python.yml b/.github/workflows/integrations.python.yml index c457655..d44f2ca 100644 --- a/.github/workflows/integrations.python.yml +++ b/.github/workflows/integrations.python.yml @@ -84,12 +84,13 @@ jobs: working-directory: cdk-test run: cdklocal init app --language=${{ matrix.language }} - - name: Start and wait for localstack (Community) + - name: Start and wait for localstack timeout-minutes: 10 + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} run: | - docker pull localstack/localstack:latest localstack start -d - localstack wait -t 30 + localstack wait - name: Install python libs working-directory: cdk-test diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d6f3616..d5612f7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -113,12 +113,13 @@ jobs: working-directory: ${{env.WORK_DIR}} run: cdklocal init app --language=python - - name: Start and wait for localstack (Community) + - name: Start and wait for localstack timeout-minutes: 10 + env: + LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }} run: | - docker pull localstack/localstack:latest localstack start -d - localstack wait -t 30 + localstack wait - name: Install python libs working-directory: ${{env.WORK_DIR}} From f39fb25ce672ea5705208757bb734eb709848dbb Mon Sep 17 00:00:00 2001 From: Dominik Schubert Date: Fri, 13 Mar 2026 11:17:10 +0100 Subject: [PATCH 3/3] Update Golang version to fix incompatibilty with newer CDK --- .github/workflows/integrations.go.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/integrations.go.yml b/.github/workflows/integrations.go.yml index c2e9b3d..92bb465 100644 --- a/.github/workflows/integrations.go.yml +++ b/.github/workflows/integrations.go.yml @@ -35,9 +35,9 @@ jobs: # The AWS CDK only supports third-party languages "until its EOL (End Of Life) shared by the vendor or community" # https://github.com/aws/aws-cdk # Golang EOL overview: https://endoflife.date/go - - { language: go, node-version: '18.x', go-version: '1.18', region: us-east-1} - - { language: go, node-version: '20.x', go-version: '1.20', region: us-east-1} - - { language: go, node-version: '22.x', go-version: '1.22', region: us-east-1} + - { language: go, node-version: '18.x', go-version: '1.24', region: us-east-1} + - { language: go, node-version: '20.x', go-version: '1.25', region: us-east-1} + - { language: go, node-version: '22.x', go-version: '1.26', region: us-east-1} env: AWS_REGION: ${{ matrix.region }}