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)
preguntada hace 4 meses130 visualizaciones
1 Respuesta
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
INGENIERO DE SOPORTE
Bony_T
respondido hace 2 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas