1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
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.
Contenuto pertinente
- AWS UFFICIALEAggiornata 9 mesi fa
- AWS UFFICIALEAggiornata 7 mesi fa
- AWS UFFICIALEAggiornata 4 mesi fa