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
posta un anno fa365 visualizzazioni
1 Risposta
1
Risposta accettata

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
ESPERTO
con risposta un anno fa
  • Thanks Michael!

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande