Skip to content

feat(cargo-lambda): add cookbook and enable for bamboo/pine, hercules, belle, pc137, palm#91

Open
YuseiIto wants to merge 3 commits into
mainfrom
claude/loving-planck-jzvqkl
Open

feat(cargo-lambda): add cookbook and enable for bamboo/pine, hercules, belle, pc137, palm#91
YuseiIto wants to merge 3 commits into
mainfrom
claude/loving-planck-jzvqkl

Conversation

@YuseiIto

Copy link
Copy Markdown
Owner

Summary

Adds a cargo-lambda cookbook that installs the AWS Lambda Rust toolchain and enables it across the requested roles.

  • New cookbook mitamae/cookbooks/cargo-lambda using the shared cargo_package helper, so it installs identically on macOS and Debian/Ubuntu and pulls in the rust cookbook as a dependency (the crate name matches the resulting cargo-lambda binary, so no bin_name override is needed).
  • Registered the cookbook and its goss health check (cargo lambda --version) in the bamboo, hercules, belle, pc137, and palm roles. pine inherits it automatically through bamboo.

Why cargo_package

cargo-lambda is a Rust Cargo subcommand published on crates.io. Every target role already provisions rust, so per the repo's installation-method priority cargo_package is the cleanest cross-platform fit.

Verification

  • bundle exec rubocop — no offenses on the new cookbook and edited roles.
  • Ruby syntax check on the new recipe passes.

https://claude.ai/code/session_01MABXzYX1YCzosNEyX4fS4X


Generated by Claude Code

claude added 3 commits June 14, 2026 03:23
…le, pc137

Add a cargo-lambda cookbook that installs the AWS Lambda Rust toolchain via
the shared cargo_package helper (works identically on macOS and Debian/Ubuntu
and depends on the rust cookbook). Register it in the bamboo, hercules, belle,
and pc137 roles, along with the goss health check. pine inherits it through
bamboo.

https://claude.ai/code/session_01MABXzYX1YCzosNEyX4fS4X
`cargo install cargo-lambda` compiles a large dependency tree (aws-sdk, gix,
watchexec, ...) from source, which exhausted the disk on the constrained CI
containers ("No space left on device"). Download the prebuilt release binary
for the host platform/arch into ~/.cargo/bin instead. The rust cookbook stays
a dependency since cargo-lambda runs as the `cargo lambda` subcommand.

https://claude.ai/code/session_01MABXzYX1YCzosNEyX4fS4X
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