- 
                Notifications
    
You must be signed in to change notification settings  - Fork 289
 
Description
Describe the bug
Hi developers,
we are trying to deploy your instance schedular by pipeline. The pipeline inherits from an alpine image and has the following versions installed:
Node: v18.20.1
Npm: 9.6.6
Python 3.11.10
Poetry (version 2.0.0)
Running the following commands from your instructions
npm ci
npx cdk bootstrap
npx cdk deploy instance-scheduler-on-aws
result in an error:
Bundling asset instance-scheduler-on-aws/MetricsUuidGenerator/Code/Stage...
sending incremental file list
sent 38 bytes  received 12 bytes  100.00 bytes/sec
total size is 0  speedup is 0.00
Poetry could not find a pyproject.toml file in /asset-output or its parents
Error: Failed to bundle asset instance-scheduler-on-aws/MetricsUuidGenerator/Code/Stage, bundle output is located at <path>/build/cdk.out/asset.f9834392b6a445b537520c9cdc12189cfb283f14ddd77802b367d72c03a528d9-error: Error: docker exited with status 1
--> Command: docker run --rm -u "0:0" ...
Note that we also tried to only run npx cdk synth or to use the build script in /deployment/build-s3-dist.sh which both result in in the same error.
Is the pyproject.toml missed in bundling the python lambda functions?
Thanks for any help in advance!
To Reproduce
Try to build the whole solution in a clean env.
Expected behavior
Expected would be that everything is there to build the solution.
Maybe we are missing something - any help is appriciated.