cloudinit requires /etc/environment to be setup when the unit is ran, so I do not think you can use cloudinit to create it? That is, unless, you are creating two cloud-configs-- one to setup the environment, and then the next one to do everything else.