File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8383 - checkout
8484 - attach_workspace :
8585 at : ~/repo/
86+ - setup_remote_docker :
87+ docker_layer_caching : true
8688 - restore_cache :
8789 keys :
8890 - v3-dependencies-{{ checksum "uv.lock" }}
@@ -122,6 +124,8 @@ jobs:
122124 - checkout
123125 - attach_workspace :
124126 at : ~/repo/
127+ - setup_remote_docker :
128+ docker_layer_caching : true
125129 - restore_cache :
126130 keys :
127131 - v3-dependencies-{{ checksum "uv.lock" }}
Original file line number Diff line number Diff line change 1010from aws_cdk import aws_stepfunctions_tasks as tasks
1111from constructs import Construct
1212
13+ from aws_cdk import BundlingOptions as CoreBundlingOptions
14+
1315EXCLUDE_FILES = [
1416 "cdk.out" ,
1517 ".venv" ,
@@ -104,6 +106,11 @@ def create_dependencies_layer(self) -> None:
104106 compatible_runtimes = [aws_lambda .Runtime .PYTHON_3_12 ],
105107 description = "Dependencies layer for LGSF Lambda functions" ,
106108 removal_policy = cdk .RemovalPolicy .DESTROY ,
109+ bundling = aws_lambda_python .BundlingOptions (
110+ # Fix CircleCI remote Docker permission issues
111+ # Run Docker container as root to avoid rsync permission errors
112+ bundling_file_access = cdk .BundlingFileAccess .VOLUME_COPY ,
113+ ),
107114 )
108115
109116 def create_sns_topic (self ) -> None :
You can’t perform that action at this time.
0 commit comments