AWS has a native service for this called AppConfig and has agents that can pull and cache flag values so your services only need to make localhost requests.
Depending on when you’re evaluating it’s a per request overhead. You might/provably have multiple flags per request. Compared to a lambda invocation that pushes a config file to every container if it changes, it’s expensive.