Urgent.News

What's breaking now, across thousands of outlets.

Tech

# Stop hardcoding AWS Lambda layer ARNs, and use AWS Systems Manager Parameter Store public parameters instead

To add the AWS AppConfig Agent Lambda extension to an AWS Lambda function, you can open the documentation, scroll through a table of ARNs, find the one that matches your AWS Region and architecture, copy it, and paste it into your template. However, a few months later, AWS publishes a new version and now your deployment is silently using an older one. There’s a better approach that uses public…

Hardcoding AWS Lambda layer ARNs can lead to issues if AWS releases a new version, as your deployment will be using an older one. A better approach is to use public parameters in AWS Systems Manager Parameter Store (Parameter Store) which contain up-to-date metadata about AWS services. Public parameters are read-only and can be queried at deploy time to get the current value.

To add the AWS AppConfig Agent Lambda extension to an AWS Lambda function, you can use the AWS Systems Manager Parameter Store public parameters instead of hardcoding the ARN. These parameters are available in every commercial AWS Region and include paths for x86_64 and ARM64 architectures. Retrieving the ARN from the AWS CLI is as simple as running a command that returns the full layer ARN for your current AWS Region.

This approach removes the need for coordination between teams and eliminates the hassle of maintaining ARNs.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

"Multi-Agent" Is Often a Single Agent: What 86 Repos Actually Implement

Every agent framework README says "multi-agent". AutoGen, CrewAI, LangGraph, MetaGPT each have 20k+ GitHub stars, and the term "multi-agent" appears in thousands of repo descriptions.

  • 68.2% of self-described multi-agent repos implement single model or non-agent system
  • Orchestrator-worker topology most common among genuine multi-agent systems
  • Many multi-agent labeled repos use framework dependencies without claiming label

9 Bugs That All Looked Like a Working System

AgentSelfEdit is an open-source sidecar that rewrites its own system prompt from execution feedback. It A/B tests edits and promotes only statistically-proven winners.

  • Promotion gate incorrectly checked for p-value above 0.95 instead of below 0.05
  • A/B test compared edited prompt against original prompt, not against unedited version
  • Scoring mode marked any trace with non-empty response as 100% correct

More from Tuesday 1 September →