- Newest
- Most votes
- Most comments
Hi Nik,
did you create your component in the other AWS Region? Greengrass components are regional resources that must be created in every region where you want to use them.
Is your component showing up under My components? You can also use list-components and list-component-versions with the AWS CLI.
Cheers,
Philipp
Hey Nik,
It shows that error because you deleted the component on Iot Core (hence it tells you it can not find it because it was deleted). If your device is unhealthy, use the aws.greengress.Cli greengrass-cli component list
and check which component is broken or failing which would cause it to report to Iot core as unhealthy, also check the logs on your device which will give you more insights as to what might have gone wrong. Try creating a new deployment adding or removing the components you want it to have and the device status should update.
Cheers,
Nelson
Relevant content
- Accepted Answerasked a year ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
Can you tell me that how can I delete this components using aws-cli Thank you Philipp
You can use the delete-component API. To delete a component you provide the component arn. You can find the arns of your components with the list-components command.
Thank you Philipp, but I think, it’s different error because it has no ARN, so how can i delete it, I tried but it shows…..is not a valid ARN.
Can you find your component with list-components? As arn you need to provide the arn including version, for exampel arn:aws:greengrass:AWS_REGION:AWS_ACCOUNT:components:com.example.learndevice:versions:YOUR_VERSION
No, I cannot find because it has no ARN. That's because I confused about this error.