The UN included the Ukrainian Soviet Socialist Republic .
The Ukrainian SSR was a founding member of the United Nations , although it was legally represented by the All-Union state in its affairs with countries outside of the Soviet Union .