Skip to content

Commit eb3654e

Browse files
committed
docs(filemanager): add note about permission issues
1 parent bde7b54 commit eb3654e

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

lib/workload/stateless/filemanager/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ target/
22
*.swp
33
/volume/
44
.build
5-
target-cdk-docker-bundling/
5+
target-cdk-docker-bundling/

lib/workload/stateless/filemanager/deploy/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,11 @@ The filemanager expects a dedicated database within the shared database cluster,
2121
Initially, the filemanager-migrate-lambda function is deployed to perform database table migrations using the
2222
cdk_resource_invoke.ts construct. Then, the other Lambda functions are deployed normally within the filemanager
2323
construct.
24+
25+
### Building
26+
27+
Note, the `RustFunction` compiles code using `cargo-lambda` running inside a Docker container, and produces a Lambda
28+
function which runs natively on AWS (i.e. not a dockerized Lambda function). This makes it simpler for consumers of
29+
the Filemanager CDK to build the project. There is a small downside in that the compiled code is stored under a
30+
`target-cdk-docker-bundling` directory which is owned by Docker, so there may be some permission issues if trying to
31+
clean this directory.

0 commit comments

Comments
 (0)