CodeBuild local agent: AWS credentials not passed with parameter-store vars

Using the CodeBuild local agent (codebuild_build.sh), builds fail because AWS credentials are not passed into the build when the buildspec uses parameter-store variables (env.parameter-store). The local agent did not forward the host's AWS config directory credentials into the build container in that path.

Update to the latest version of the CodeBuild local agent: AWS staff confirmed the credential-forwarding fix there (SHA 78f5c1a...), and the reporter verified builds now work. Keep your AWS credentials file and config in place; the fix is on the agent side.

Source: https://github.com/aws/aws-codebuild-docker-images/issues/123

Source: https://github.com/aws/aws-codebuild-docker-images/issues/123