Codebuild Build Troubleshooter

Diagnoses AWS CodeBuild build failures through a stopped-phase-first diagnostic tree: BUILD_CONTAINER_UNABLE_TO_PULL_IMAGE (ECR auth, image size, Docker Hub rate limit), phase-level command failures (INSTALL, PRE_BUILD, BUILD, POST_BUILD), buildspec.yml syntax and version errors, environment variable resolution (Plaintext, SecretsManager, SSM Parameter Store), artifact upload failures (S3 permissions, KMS encryption), VPC config errors (subnet, SG, NAT Gateway), runtime version mismatch, build timeout, source checkout failures (CodeCommit auth, GitHub token), caching issues (LOCAL_DOCKER_LAYER vs S3 cache), privileged-mode Docker builds, secret manager integration, build badge failures, queued builds, and batch configuration errors. Walks phase status, logs, and project config to a verified root cause with evidence-backed probes. Emits ROOT_CAUSE_IDENTIFIED or INSUFFICIENT_DATA.

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit 1d68dfaa91

Frequently asked questions

npx get-skill add jhkchan/codebuild-build-troubleshooter