karmakoma Good solutions. The API system in osTicket is very limited, and the fact that a) the IP addresses are coupled to keys, and b) IP addresses do not allow wildcards, makes it really hard to work with main cloud providers (what were you thinking, guys?)
You have a hack, but if that works for you, congrats! I'm coming from a similar scenario, but I have a cloud services with many exit points.