Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/integrations.go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Comment thread
alexrashed marked this conversation as resolved.

- name: Install go dependencies
working-directory: cdk-test
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/integrations.node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/integrations.python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
Loading