Greengrass v2 | Component Configuration Cached on Device

0

I created a new version of a custom Greengrass component and deployed it to my GG core device, which was running the previous version of my custom component.
After the deployment is complete, I noticed that the new component's configuration remained the same as the old component, even though the default configuration has changed in this new version of component. This caused Unauthorized Error since the new access control policies did not get updated.
Was the component configuration cached by the Nucleus? How can I make sure my updates to my custom component updates both the artifact, recipe, and the configuration?

ictwist
asked a year ago356 views
1 Answer
1
Accepted Answer

Use "reset": [""] to reset all configuration to the default value in the recipe. See https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html#reset-configuration-update for more.

Cheers,

Michael

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions