I have hosted IoT in USW2 because USW1 doesnt have IOT support. I created a rule to call with a trigger to call a lambda in USW1.
I followed https://aws.amazon.com/blogs/iot/access-cross-account-resources-using-aws-iot-rules-engine/ but instead of using a cross account ID, i typed in the same account ID so that i just calls the other region. This failed with 404. I dont see a straight forward way of passing my MQTT messages to my computer cluster in USW1. Is there a workaround here.
The cross account lambda execution from IoT rule does work, but the rule and lambda need to be in the same region.
So in your case you'd have
USW2 (IoT) -> USW2 (Lambda) -> ... -> USW1
Sounds like you may have your account numbers mixed up.
The basic flow is:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.