codedeploy The provided role does not have sufficient permissions.

    [AWS] Codepipeline The provided role does not have sufficient permissions.

    codepipeline 에서 codedeploy를 실행하는데 다음과 같은 에러가 나오면서 codedeploy 가 진행되지 않았다. buildspec.yml 파일에 아티팩트 구문이 포함되어 있어야 한다. version: 0.2 artifacts: files: - '**/*' If you change the buildspec.yml version to 0.2 then the shell keeps its settings. In version: 0.1 you get a clean shell for each command.