IoT core: Bulk registration failure

0

Hello
I am trying to figure out the possibilities for bulk registration of IoT devices which has led me to these guides:
https://aws.amazon.com/blogs/iot/deploy-fleets-easily-with-aws-iot-device-management-services/
https://iot-device-management.workshop.aws/en/provisioning-options/bulk-provisioning.html
I have arrived at the step where I need to run my "aws iot start-thing-registration-task" command, but I get the error: "'inputFileKey' failed to satisfy constraint: Member must satisfy regular expression pattern: [a-zA-Z0-9!_.*'()-/]+" At first I tried following the guide to remove the begin and end line of the csr along with making it newline delimited, but I got the same error. I then tried using the "mk-bulk.sh" from the workshop and used that json file which gave the same error along with an error saying that the file is above the 1024bytes limit of the AWS CLI function.
The guides are from 2018, so things might have changed, but they were the most recent I could find.
Any help is much appreciated and let me know if you want me to provide my one-line json.

Best regards
Martin Pedersen

已提問 3 年前檢視次數 273 次
1 個回答
0

I was supposed to keep the bulk-registration.json in a s3 bucket for it to work

已回答 3 年前

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

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

回答問題指南