AWS IoT Greengrass Component delete

0

Hi AWS people I installed AWS IoT Greengrass on Windows and deployed components locally.

But I had a problem because I met an error. I checked the log, and I want to delete the components I distributed locally from the component list.

Component Name: com.drag.Modbus
    Version: 1.0.0
    State: NEW
    Configuration: {}

I used the following command, but the component was not deleted.

/greengrass/v2/bin/greengrass-cli deployment create --remove="com.drag.Modbus"
/greengrass/v2/bin/greengrass-cli \ --ggcRootPath /greengrass/v2 deployment create \ --remove "com.drag.Modbus"

여기에 이미지 설명 입력

I want to remove the faulty component from the device. What should I do?

1 個回答
1

Hello,

How did you originally deploy that component? You should use the same method to remove it. So if you deployed to a thing group you'd need to make a new deployment to the thing group which does not include the component.

deployment create --remove <component name> is the right command to remove from a local deployment, but this only works if you deployed the component locally to begin with.

If you deployed the component both locally and from a cloud-based deployment then you must remove it from both the local and cloud deployments.

Cheers,

Michael

AWS
專家
已回答 6 個月前
profile pictureAWS
專家
Greg_B
已審閱 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南