add environment to bucket and mapping template