Greengrass Core V2 - Restart component on config change

0

Hi,

After making a change to a component's config and then deploying this via GG V2 deployment, how can I trigger the component to restart automatically so it picks up the new configuration?

Many thanks in advance

cgddrd
質問済み 2年前481ビュー
1回答
1

Any configuration which is interpolated into the "lifecycle" section of the recipe will cause the component to reinstall. You can achieve this by interpolating the configuration into environment variables using "setEnv" key for example. If you're using IPC to read the configuration, then ideally you would subscribe to configuration changes and reconfigure without needing to restart. https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-component-configuration.html#ipc-operation-subscribetoconfigurationupdate

AWS
エキスパート
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ