AWS IoT - Fleet Provisioning Template - Creating Pre Provisioning Hook in Seperate AWS Account

0

Is it possible to specify a Pre Provisioning Hook in a seperate AWS account?

The lambda has the appropriate permissions to be invoked by the IoT account

this is the error I get when I deploy from CDK....

TenantIotAccountStack | 0/9 | 11:42:30 am | UPDATE_FAILED        | AWS::IoT::ProvisioningTemplate | BasicFleetProvisioningTemplate Resource handler returned message: "Invalid request provided: Invalid arguments in the call (Service: Iot, Status Code: 400, Request ID: 6b920ce1-e0b6-4282-9f35-12a0c3473a1c)" (RequestToken: c47913fa-ba62-f59c-f06c-eaf9c901ba9e, HandlerErrorCode: InvalidRequest)
已提问 4 个月前128 查看次数
1 回答
0

Hi, Unfortunately, Lambda function from another account cannot be used as Pre Provisioning Hook. As specified in the IoT Document This Lambda function must exist in your account before you provision a device because it's called every time a device sends a request through RegisterThing..

https://docs.aws.amazon.com/iot/latest/developerguide/pre-provisioning-hook.html

profile pictureAWS
支持工程师
Bony_T
已回答 2 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则