Replies: 2 comments 4 replies
-
For this to work we might need have scenarios that look something like this:
(1) is currently handled automatically by the fact that What do you think @JimMadge ? Overall, I'd like to avoid the idea of having any entirely local config files that aren't forcibly pushed to Azure Storage (where everyone can read/edit/update them) at the earliest opportunity. Effectively, our config file handling should be like an additional backend that handles synchronisation of Pulumi settings across the sysadmin team. |
Beta Was this translation helpful? Give feedback.
-
I'm worried about the case where:
Essentially, I want the config file to stay in sync with "what's currently deployed". |
Beta Was this translation helpful? Give feedback.
-
DSH configuration
Solutions could be,
Pulumi configuration
docs
Pulumi.<stack_name>.yaml
config = pulumi.Config()
)pulumi up
is stored in the backendIn summary, Pulumi configuration is a place to store stack-dependent data.
For example you could enable debugging on your dev stack, and disable on your production stack.
However, the backend is not intended to be used as an authoritative source of configuration or to sync configuration between developers.
Instead, I feel, the intended workflow is that your configuration files are stored in version control.
You would make, and deploy, changes there in the same way that you would with your Pulumi program using your VCS.
The backend is instead a record of what the configuration (and state) was when deployed.
This doesn't quite fit our scenario, as we do not expect to put particular stack configurations (in our case SHMs and SREs) into version control.
My proposal
This is very similar to the the existing setup, just with some more formalisation and structure.
Regarding backends. I think this still leaves the possibility open to use any backend as we do not depend on extra features or trying to use the backend as a configuration source.
Beta Was this translation helpful? Give feedback.
All reactions