Lambda and Parameter Store

0

I guess this is more a suggestion than a question, but I'd love to hear the opinion of other users. Using layers we can integrate Parameter Store (or Secret Manager) with lambda, which is extremely useful since values are cached etc. However, I was thinking, wouldn't it be more efficient to simply "push" values from Parameter Store to lambda metadata (i.e. to env variables, which anyways are encrypted at rest)? In that way we could control everything centrally from Secret Manager, no need for lambda extensions : Parameter store would keep a list of "subscribed" lambda functions and propagate changes whenever they occur, information would be then retrieved locally from the lambda function, no API calls, etc.

FAgosti
질문됨 일 년 전564회 조회
1개 답변
2

I know it's not exactly what you're asking for but in October 2022, we announced a Lambda extension that makes it easier to use Parameter Store.

Your idea is interesting but it there are edge cases that Parameter Store handles better such as having more than 4KB of storage space.

profile pictureAWS
전문가
답변함 일 년 전
  • Yes, thanks, I am aware of the extension, which as I said it's pretty cool. My idea was more into changing into a push approach (P Store -> Lambda), which I feel it woudl be a bit more efficient and at the same time easier to manage

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠