I'm using AWS IOT Core to receive LoraWAN packets with a RAK7289 LoraWAN gateway.
I was able to configure the gateway, the device, the device profile and the device destination through an MQTT topic and I'm receiving messages from the device.
But when I tried to configure the IAM policy to allow the join requests and connection status to pass over MQTT, AWS says that no permissions are granted:
Even though I'm using the policy indicated by AWS:
Has anyone solved this type of issue?
Thanks in advance.


After reaching for AWS Support, they sent a fixed the policy, the correct one is:
The AWS documentation is still showing the wrong policy, but according to them, it will be fixed.