Commit graph

6 commits

Author SHA1 Message Date
Adam Moussa
01438bd1fd Fix file-share DLM policy duplicate-tag error (audit C-8)
The SnapshotPolicy schedule set both copyTags:true and tagsToAdd
file-share-backup=true. Since that tag is already on the data volume,
copyTags propagates it to each snapshot and the explicit tagsToAdd of
the same key triggers DLM's duplicate-tag error, leaving the policy in
ERROR state -- nightly snapshots of the 500 GB NAS volume were silently
failing. Dropping the redundant tagsToAdd (copyTags still tags the
snapshots) lets the policy run.

The live policy was already corrected out-of-band to stop the failing
backups; this commit codifies that change so the next clean deploy shows
no drift on the policy.
2026-05-29 17:18:15 -04:00
Adam Moussa
d8b32264c4 Add .env to gitignore 2026-05-14 17:48:10 -04:00
Adam Moussa
00882667e5 Pin aws-cdk-lib to 2.253.1 to fix npm ci
aws-cdk-lib 2.254.0 has a bundled dependency bug where npm ci reports
jsonschema@1.4.1 as missing from the lock file. Pinning to 2.253.1
which is proven working in CI (same version as forgejo).
2026-05-14 15:47:21 -04:00
Adam Moussa
939ff7122c Set node-version to 24 in CI/CD workflows
Lock file generated with npm 11 (Node 24) is incompatible with npm 10
(Node 22) in CI — npm ci fails on missing transitive dependencies.
2026-05-14 15:41:54 -04:00
Adam Moussa
cced82c0d7 Remove unused FB_HASH variable from user data
FileBrowser's users add command hashes internally.
2026-05-14 15:35:51 -04:00
Adam Moussa
427242499d Initial file-share stack
CDK stack deploying a t4g.small EC2 instance with Samba and FileBrowser
for personal file storage over the site-to-site VPN. Includes 500 GiB
gp3 data volume with daily DLM snapshots.
2026-05-14 15:23:38 -04:00