I have followed the workflow to install the systems manager agent component on Greengrass V2:
https://docs.aws.amazon.com/greengrass/v2/developerguide/install-systems-manager-agent.html#create-ssm-service-role
The Install fails, when I look at my core device on the console > deployments > Status on this Device > Failed:
"FAILED_NO_STATE_CHANGE: NoAvailableComponentVersionException: No local or cloud component version satisfies the requirements. Check whether the version constraints conflict and that the component exists in your AWS account with a version that matches the version constraints. If the version constraints conflict, revise deployments to resolve the conflict. Component aws.greengrass.SystemsManagerAgent version constraints: thinggroup/OnWatch_UmpTest_Group requires =1.0.0."
Log output shows:
Caused by: com.aws.greengrass.componentmanager.exceptions.NoAvailableComponentVersionException: No local or cloud component version satisfies the requirements. Check whether the version constraints conflict and that the component exists in your AWS account with a version that matches the version constraints. If the version constraints conflict, revise deployments to resolve the conflict. Component aws.greengrass.SystemsManagerAgent version constraints: thinggroup/OnWatch_UmpTest_Group requires =1.0.0. at com.aws.greengrass.componentmanager.ComponentManager.negotiateVersionWithCloud(ComponentManager.java:213) at com.aws.greengrass.componentmanager.ComponentManager.resolveComponentVersion(ComponentManager.java:154) at com.aws.greengrass.componentmanager.DependencyResolver.lambda$resolveDependencies$2(DependencyResolver.java:125) at com.aws.greengrass.componentmanager.DependencyResolver.resolveComponentDependencies(DependencyResolver.java:218) at com.aws.greengrass.componentmanager.DependencyResolver.resolveDependencies(DependencyResolver.java:123) at com.aws.greengrass.deployment.DefaultDeploymentTask.lambda$call$2(DefaultDeploymentTask.java:126)
Not quite sure what I am doing wrong. Core device is a Raspberry Pi4