Running all the IDF commands is not supported there. Would you rather try this one- GitHub - FreeRTOS/iot-reference-esp32c3
If you are not using ESP32C3, you can try using this one - GitHub - espressif/esp-aws-iot: AWS-IoT SDK as an ESP-IDF component
Thanks.