Dev, staging and prod share a file destination path , which is a location for temporary file deployment, before starting the API.
CodeDeploy agent clears that path upon a redeployment, but a different deployment group (staging vs dev vs prod) deployment doesn't clear another group's deployment directories - they conflict and the new deployment fails.
Dev, staging and prod share a file destination path , which is a location for temporary file deployment, before starting the API. CodeDeploy agent clears that path upon a redeployment, but a different deployment group (staging vs dev vs prod) deployment doesn't clear another group's deployment directories - they conflict and the new deployment fails.
Prevent the path conflict from happening.