Find a file
2023-06-25 10:40:23 +01:00
src Ensure type_ is renamed in Link struct 2023-06-25 10:40:23 +01:00
.envrc Initial commit of working lambda 2023-05-21 16:51:10 +01:00
.gitignore Initial commit of working lambda 2023-05-21 16:51:10 +01:00
Cargo.lock Initial commit of working lambda 2023-05-21 16:51:10 +01:00
Cargo.toml Initial commit of working lambda 2023-05-21 16:51:10 +01:00
flake.lock Initial commit of working lambda 2023-05-21 16:51:10 +01:00
flake.nix Initial commit of working lambda 2023-05-21 16:51:10 +01:00
LICENSE Initial commit of working lambda 2023-05-21 16:51:10 +01:00
README.md Initial commit of working lambda 2023-05-21 16:51:10 +01:00

webfinger lambda

small aws lambda that filters a static JSON file of webfinger data from an s3 bucket and returns the one matching the query parameter subject.

building

use the cargo-lambda tool to build the zip file to upload to aws

$ cargo lambda build --release --output-format zip

because it's a lambda there is currently no way to run this locally. this should eventually be rectified.

you can then point a custom domain to the lambda.