Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CDK to support having readonlyRootFilesystem set to true #751 #114

Merged
merged 3 commits into from
Jan 6, 2025

Conversation

philmcmahon
Copy link
Contributor

What does this change?

Similar to https://github.com/guardian/lurch/pull/751, this PR disables write access to the root file system for ecs containers used in this project (just the media download service at the moment). This is achieved by bumping the version of GuCDK that the project uses to pull in guardian/cdk#2545

With this in place, we then need to make sure that all file write operations happen inside a separate mounted volume - in this case mounted at /media-download

How to test

Tested on CODE

@philmcmahon philmcmahon requested a review from a team as a code owner January 6, 2025 16:30
@philmcmahon philmcmahon requested a review from srbd January 6, 2025 16:30
Copy link
Contributor

@srbd srbd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool

@philmcmahon philmcmahon merged commit 9556727 into main Jan 6, 2025
4 checks passed
@philmcmahon philmcmahon deleted the bump-cdk-no-root-write branch January 6, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants