Closed dilanka-att closed 1 year ago
This is the repository for CodeDeploy. Please reach out to CodeBuild for help on this issue.
This is the repository for CodeDeploy. Please reach out to CodeBuild for help on this issue.
Hi @t0shiii, So my usecase is in a code-pipeline I have the
Above process was working fine but due to a security scan we enabled object versioning on the bucket on step2. Post that the code-deploy agent could not download the artifact from the now versioned s3 bucket.
I did a test downloading the s3 artifact using the aws cli and that worked. So I think there was sufficient IAM permissions for the EC2 instance to download the artifact.
If the CodeDeploy Agent is failing in DownloadBundle, please check either the deployment logs or the agent logs. Information about both logs can be found in the CodeDeploy documentation
I recently enabled s3 versioning on some codebuild buckets due to a security audit. Soon after I found that the codebuild-agent could not download the previously downloadable Build Artifacts.