<p>I am trying to create a codepipeline in aws , I am able to build my code , push image to ECR as well. then I want to rename the image in my deployment file that I have in git repo so that new deployment is created with the new image version.</p>
<p>Also If I keep same image then how will i deploy the deployment file in deploy stage in Kubernetes using aws codepipeline</p>

Waseem Mir
<p>If you are trying to deploy different versions of the app in different environments - you can use <a href="https://github.com/kubernetes-sigs/kustomize" rel="nofollow noreferrer">kustomize</a>. You can use codepipeline <a href="https://docs.aws.amazon.com/codepipeline/latest/userguide/reference-variables.html" rel="nofollow noreferrer">variables</a> to update the values.</p>
