1 Resposta
- Mais recentes
- Mais votos
- Mais comentários
0
The extension runs in your execution environment, so if you're running 5 functions in parallel then you have 5 execution environments so 5 independent instances of the extension.
Yes you could store a retreived secret in a global var rather than using the extension's caching - there's not much difference really. But there's still an advantage to using the extension for that initial retrieval if it means you reduce SDK initialisation cost.
Conteúdo relevante
- AWS OFICIALAtualizada há 7 meses
- AWS OFICIALAtualizada há 2 meses
- AWS OFICIALAtualizada há 4 meses
- AWS OFICIALAtualizada há um ano