While testing cdklocal, we found some inconsistencies. Despite having cdk installed (and pegged to version 1.67.0), it seems that cdk and cdk-local's cdk versions are out of sync
root@ea857e43d7ef:/usr/local/src# cdk --version
1.67.0 (build 2b4dd71)
root@ea857e43d7ef:/usr/local/src# cdklocal --version
1.69.0 (build 2b474b9)
I thought i might have been related to how we install cdk, npm install -g cdk@1.67.0, so i changed it to npm install -g aws-cdk@1.67.0. That made no difference.
For context, we have a docker-compose.yml that includes:
localstack:
image: localstack/localstack
ports:
- "4566:4566"
environment:
- SERVICES=cloudformation,ec2,iam,lambda,rds,s3,secretsmanager,sqs
- DEBUG=${DEBUG-True}
- DATA_DIR=/tmp/localstack/data
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR-docker-reuse}
- DOCKER_HOST=unix:///var/run/docker.sock
- DEFAULT_REGION=us-west-2
volumes:
- "./build/localstack:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
We have another defined docker service that installs all our cdk requirements (npm and python) and where the code lives and is then executed.
There are other issues that are blocking us currently (#1), but having version inconsistencies is odd.
┆Issue is synchronized with this Jira Bug by Unito
While testing cdklocal, we found some inconsistencies. Despite having cdk installed (and pegged to version 1.67.0), it seems that cdk and cdk-local's cdk versions are out of sync
I thought i might have been related to how we install cdk,
npm install -g cdk@1.67.0, so i changed it tonpm install -g aws-cdk@1.67.0. That made no difference.For context, we have a docker-compose.yml that includes:
We have another defined docker service that installs all our cdk requirements (npm and python) and where the code lives and is then executed.
There are other issues that are blocking us currently (#1), but having version inconsistencies is odd.
┆Issue is synchronized with this Jira Bug by Unito