You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Description
From my understanding there are currently 2 available update types "reset" and "merge". Reset allows you to delete some config value and merge allows you to overwrite it.
I would like to be able to only update a key in the configuration if there is not an existing value.
Use Case
We are deploying greengrass components on behalf of ours users into their AWS accounts. Sometimes we want to be able to update our default configuration without overwriting any changes the user has made (appreciate this wont help with keys users have removed).
Proposed Solution
Add an additional update type similar to merge which only updates keys which do not currently exist in the config.
👋 I may be able to implement this feature request (I have very little context so unlikely I will be much use without a lot of help)
⚠️ This feature might incur a breaking change (kinda maybe? - as customers may be trying to infer configuration based on past deployments)
The text was updated successfully, but these errors were encountered:
Hi, thank you for reaching out. This seems like a specific use case that would need to be implemented on the client side rather than within Greengrass. For example, you could "merge" a config value only if it matches its set default value, otherwise you would skip the update.
I was looking at an approach along those lines although it doesn't seem like there's a sensible way to get the current configuration of a component in order to perform that merge. Even if there was pulling the config and doing the update outside of green grass could result in race conditions (config is updated after merge), although there might be existing solutions to that part?
Feature Description
From my understanding there are currently 2 available update types "reset" and "merge". Reset allows you to delete some config value and merge allows you to overwrite it.
I would like to be able to only update a key in the configuration if there is not an existing value.
Use Case
We are deploying greengrass components on behalf of ours users into their AWS accounts. Sometimes we want to be able to update our default configuration without overwriting any changes the user has made (appreciate this wont help with keys users have removed).
Proposed Solution
Add an additional update type similar to merge which only updates keys which do not currently exist in the config.
The text was updated successfully, but these errors were encountered: