When trying to deploy changed code, the codedeploy fails because it is trying to create files which already exist. To solve this, we must include commands to delete the files pertaining to our microservices so that we can re-install them in the new deploy. We can do so in our scripts/before-install.sh file.
When trying to deploy changed code, the codedeploy fails because it is trying to create files which already exist. To solve this, we must include commands to delete the files pertaining to our microservices so that we can re-install them in the new deploy. We can do so in our scripts/before-install.sh file.