Greengrass v2 | 如何确认组件配置缓存在设备上?

0

【以下的问题经过翻译处理】 我创建了一个定制的Greengrass组件的新版本,并将其部署到我的GG核心设备上,该设备正在运行我定制组件的旧版本。

部署完成后,我注意到新组件的配置与旧组件的配置相同,尽管这个新版本的组件的默认配置已经改变。这导致了“未经授权的错误”,因为新的访问控制策略没有得到更新。

核心是否缓存了组件配置?如何确保我的自定义组件更新了工件、配方和配置?

profile picture
EXPERT
asked 6 months ago21 views
1 Answer
0

【以下的回答经过翻译处理】 使用"reset": [""]在recipe中将所有配置重置为默认值。查看https://docs.aws.amazon.com/greengrass/v2/developerguide/update-component-configurations.html#reset-configuration-update了解更多信息。

profile picture
EXPERT
answered 6 months 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