April 26, 2019

Applicative Functors - "web-scale" edition

TLDR: Applicative functors are great! Here’s an example that isn’t about containers or collections. At work we have multiple services and serverless functions (hence web-scale) that require secrets: configuration values that are needed at runtime but are out of source control. We standardized on storing secrets in the Parameter Store (PS), and read them in different ways according to the situation: for AWS Lambda functions we make an call to the PS directly for dockerized services we use chamber to inject secrets into the process environment for some local tests, developers can use chamber to export to a temporary file For example: to use some-api. Read more