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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인