millions-pharmacist-626
09/19/2023, 1:43 PMPulumi.yaml
config file:
I understand that it's used to keep configs about the environment, name of the project etc.. and at the same time to set configs that are not dependant on the stack.
However, regarding the 2nd part, I am wondering: isn't it just the same as creating a config.py
file and just setting global variables there? What is the advantage of setting them in Pulumi.yaml
?little-cartoon-10569
09/19/2023, 8:07 PMmillions-pharmacist-626
09/20/2023, 9:32 AMconfig.py
file anyway, where I load all the pulumi configs there, and then import them in separate pulumi modules as needed. So I only have to write once configs = pulumi.Config()
etc...cuddly-nightfall-71097
09/20/2023, 10:02 AMconfig.py
.
• Config can be queried by providers (which run in a different process)