Allow providers to be defined globally on the app, rather than in each stack #2489
Labels
enhancement
New feature or request
priority/awaiting-more-evidence
Lowest priority. Unlikely to be worked on unless/until it gets a lot more upvotes.
size/medium
estimated < 1 week
ux/configuration
Community Note
Description
Currently, the providers have to be defined directly on each stack. My provider configuration does not change between stacks. It would be nice if the cdk implementation walked up the object chain and used the first provider definition it finds, so I can define it in a single place.
Example (this doesn't work):
main.ts
src/app.ts
src/k8s.ts
tsconfig.json
Error I get when running
npm run synth -- --json
References
The text was updated successfully, but these errors were encountered: