- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Inserting a Governance Validation Stage into an AWS Pipeline
In this lab, you will extend an existing AWS CodePipeline pipeline by inserting a dedicated governance validation placeholder stage between the Source and Deploy stages. You will wire the new stage using an AWS CodeBuild project that will serve as the execution engine for future governance checks, then trigger the pipeline to confirm the stage runs as expected. This establishes the structural foundation used throughout the rest of the path where later labs will add specific compliance checks into the CodeBuild projects you wire up. These governance patterns let teams shift security left, embedding automated policy validation directly into the delivery pipeline rather than relying on manual reviews or post-deployment audits. **Important Information**: Please ensure that you read through the **Additional Information & Resources** section.
Lab Info
Table of Contents
-
Challenge
Establish the governance stage baseline
Create a new Build stage within the code pipeline between the Source and Deploy stages called GovernanceLint using AWS CodeBuild:
- Project Name (existing): governance-validator
- Define buildspec override enabled with Buildspec file set to:
configuration/buildspec.yml - Output artifacts: GovernanceLintOutputs
- Build type: Single Build
- Output artifacts: GovernanceLintOutputs
-
Challenge
Ensure the pipeline executes successfully
Update the existing Deploy stage settings:
- Input artifacts set to GovernanceLintOutputs
- Template > Artifact name set to GovernanceLintOutputs, and File name is
infra/template.yml - Capabilities - optional set to CAPABILITY_IAM and CAPABILITY_NAMED_IAM
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.