How did you handle pipelines for infrastructure changes versus application changes?
IntermediateBehavioralCI/CD pipeline deep-dive
Answer
Good answer looks like → "Separate pipelines. App changes were fully automated to staging. Terraform changes ran plan on PR and posted the output as a comment; apply ran only after merge with approval, per environment, and production applies needed a second reviewer. We used Atlantis for a while, then moved to GitHub Actions with the same flow."
Follow-ups to expect → How did you stop two applies running at once? What if apply fails halfway?
Red flags → Running terraform apply from laptops.
More on CI/CD pipeline deep-dive
Walk me through your CI/CD pipeline stage by stage.BeginnerWhy did you choose GitHub Actions (or Jenkins, or GitLab CI) for this pipeline?IntermediateHow did you share pipeline logic across many repositories?IntermediateHow did your pipeline authenticate to AWS (or your cloud)?IntermediateHow did you tag and version container images?BeginnerHow did you promote a build from staging to production?Intermediate