rearrange for AWS CodeDeploy