https://pulumi.com logo
#general
Title
# general
v

victorious-dusk-75271

09/05/2022, 11:15 PM
whats the easiest way to write big config file?
l

little-cartoon-10569

09/05/2022, 11:50 PM
I think we need more context here. What problem are you trying to solve? What does "big" mean? (I'm sooo proud of myself for not saying "a big file editor".)
v

victorious-dusk-75271

09/05/2022, 11:52 PM
so one of the application has hundreds of config and most of them are same across multi regions. so i was wondering if there is any way to use common config file
l

little-cartoon-10569

09/06/2022, 12:04 AM
There's a couple of issues open for that sort of idea, but nothing implemented yes as far as I know. There are two options that have been recommended more than once in the past.
1. Don't use Pulumi for shared config. There's nothing stopping you using another config library / tool! Your language is at your disposal.
2. Create a shared-config Pulumi project. Put all the shared config in there, and export all the config values via stack references.
👍 1
13 Views