-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE]: Incorrect merge result of multiple pulumi var files #6726
Comments
Hello @ishantagarwal-x213235 , thank you for this feature request. It does make sense to allow specifying other top level keys in the varfiles. As you have observed correctly, right now we assume they are all values that go under |
Thanks @twelvemo for considering it as a breaking changes. Can you please take this on priority as I'm blocked on using the secret provider pulumi feature with garden. |
Hi @ishantagarwal-x213235, i started working on the implementation see linked PR. |
Thanks @twelvemo to take on priority. |
@ishantagarwal-x213235 I'll have a look at the module support. |
@ishantagarwal-x213235 you can now update using |
@stefreak It's working for me. Thanks for your support. |
great, thanks for letting us know. we will release this early next year. |
There is a specification of pulumivarfile where we need to add configs in one or more files and garden merges them all-together during the deployment.
https://docs.garden.io/reference/action-types/deploy/pulumi#spec.pulumivarfiles
There is a also a note added in documentation
Note: There is no need to nest the variables under a config field as is done in a pulumi config. Simply specify all the config variables at the top level.
It needs an improvement actually, In pulumi - we've a secret provider containing the
secretsprovider
andencryptedkey
keys which is not the part of application configuration but these represent the meta-level settings and looks like in the following way:-Expected result after merge the files
Currently the file after merging looks like which is incorrect merged result.
Actual result after merge the files
Please looks into this and provide the optimum solution for this
garden version 0.13.38
pulumi version v3.108.1
Command: garden plugins pulumi preview --env={env-name}
The text was updated successfully, but these errors were encountered: