What's the right way to holding configuration for multi-env?
See original GitHub issuehold env config like: ip, port, db, …
config/
dev.ts
prod.ts
test.ts
I have multi modules in project, should I create a shared module to hold env config?
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
A common way of managing configurations for multiple ...
This approach allows us to make changes to config data in one of the branches and the changes get propagated right away to...
Read more >4 Methods to configure multiple environments in the AWS CDK
The main idea behind it is to have the configuration values that determine what resources are being built, committed alongside your CDK code....
Read more >How to Model Your Gitops Environments - Codefresh
If you want to do changes to multiple environments at the same time, it is best to use the “variants” folder. The variants...
Read more >Multi-env AWS with Terraform and Terragrunt in one hour
tl;dr This guide is for people who want to get started with AWS and Terraform, who want to do it properly, securely and...
Read more >How to organize terraform modules for multiple environments?
But I will show you how I use terraform in my productions in different companies. ... It's easy to tell what module need...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Are there plans to build @kamilmysliwiec recommendation into the framework?
Additionally, you can do it in more nest-way, using custom providers. Example:
where
ConfigService
is anabstract
class and bothDevelopmentConfigService
andProductionConfigService
extendsConfigService
.