How to Deploy lambda by terraform in diiferent aws envirenment

I am not able to deploy by terraform code to different aws envirnment could you please help me one this.