Formalize our usage of the Pulumi configuration#81
Conversation
6018efd to
f1aa2be
Compare
f7ca01e to
75066d9
Compare
2937552 to
ba54410
Compare
d84c977 to
62573ef
Compare
|
I just finished a first pass at implementing this PR and I believe everything is at a point where it is ready to start getting reviewed. Important This is a pretty significant change and would be best gone through over a call This takes a very modular and integrated approach to configuration management. It builds a model where the configuration of a component is managed by the component's class itself. Lifecycle of ConfigurationInitialization of a component During initialization the component fetches the configuration either from Pulumi or if a configuration is passed into it (this part is useful if components built out many other components such as datalakhouses building several tributaries which build several buckets). Each component can define it's own Accessing configuration within a component These configuration objects after resolution are provided as Accessing configuration across components There may be times when a component needs to access the configuration of other components. This should be done by accessing configuration directly through an instantiation of said component with their |
f7d7c86 to
a85562b
Compare
… all pulumi components
a85562b to
5330afc
Compare
5330afc to
47d5a06
Compare
b0bd7cd to
880275f
Compare
thecaffiend
left a comment
There was a problem hiding this comment.
One stale comment to remove. One thing to explain me. One review to rule them all
Currently we have many different methods/models of interacting with the Pulumi configuration and it is fragmented and hard to recover at a given point what is really going on in any arbitrary place in the configuration. This PR is an investigation into formalizing, centralizing, and improving how we handle configuration through the infrastructure.
Plan
This is the current plan that is up to changing at any moment through development and discussion, will be kept up to date.
util.configlibrary.configvariable from a component that is created and initializedTO TEST
Run
pulumi previewonmainand this branch and see that there are no differencesCloses #69