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 個月前

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

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

回答問題指南