Reputation: 11192
I am following this https://docs.aws.amazon.com/sagemaker/latest/dg/edge-device-fleet-create.html#edge-device-fleet-create-console docs to create device fleet. In this console, Role ARN is optional but it throws RoleARN is required
. If I provide proper RoleArn it throws Failed to create/modify RoleAlias. Check your IAM role permission
.
I have no idea what is going wrong. Any hint would be appreciable.
Upvotes: 0
Views: 72
Reputation: 26
Mohamed, this means that Sagemaker Edge Manager was unable to use the RoleAlias you provided to take the necessary actions when creating a DeviceFleet. It needs to have the AmazonSageMakerEdgeDeviceFleetPolicy attached (or have similar permissions granted) and it needs to trust both SageMaker and IoT Core.
Upvotes: 1