aws / aws/aws-workload-credentials-provider

Need simple step to generate agent extension for Lambda

Open
#52 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
706
Forks
45
Avg merge
3d 1h
Merged PRs (30d)
6

Description

I was trying this agent for Lambda but it very tedious process to do. Still I am not able to complete setup. As per https://docs.aws.amazon.com/secretsmanager/latest/userguide/secrets-manager-agent.html#secrets-manager-agent-build document able to create extension for agent but problem is generating `/bin/` is not happening due to some dependency on machine. I am keep getting this issue while running sh script to generate extension and push to Lambda layer.

` cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-linux-gnu-gcc` installed?

--- stderr

error occurred: Failed to find tool. Is `x86_64-linux-gnu-gcc` installed?

warning: build failed, waiting for other jobs to finish...
cp: ./target/x86_64-unknown-linux-gnu/release/aws_secretsmanager_agent: No such file or directory`

My request is to have simple straight forward step to generate agent extension for Lambda. Because of this issue adaption of agent will be less even if it has multiple benefits.

Contributor guide

Open the contributing guide

Research direction

Start with the AWS Secrets Manager Agent build instructions linked in the issue and the shell script that generates the Lambda extension. Reproduce the missing x86_64-linux-gnu-gcc failure and trace why the expected target/x86_64-unknown-linux-gnu/release/aws_secretsmanager_agent file is absent. Done means the documented steps reliably produce the extension and explain how to publish it as a Lambda layer.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, bash, rust
Domain
cloud, documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.