Hello @Vithushan Varatharajan ,
Which environment variables are you referring to?
I guess these are the Azure IoT Edge module environment variables.
These are basically just Docker containers so any Docker limitations are leading.
Added Environment variables are stored in the Deployment manifest. I have not seen any limitation documented regarding the size of this manifest.