SOA-C03

Introduction to AWS CDK, Terraform and Git

Defining infrastructure with the AWS CDK, operating Terraform on AWS, and Git-based infrastructure workflows including CloudFormation Git sync.

  • 3 lessons
  • Module quiz

CloudFormation templates are not the only way to manage infrastructure as code. The AWS Cloud Development Kit (CDK) defines infrastructure in programming languages such as TypeScript and Python and deploys it through CloudFormation. Terraform manages AWS resources through its AWS provider and keeps track of them in a state file.

Whichever tool is used, the code is kept in Git, which provides history, review and rollback, and CloudFormation Git sync can deploy stacks directly from a repository branch.

What the exam expects

Questions test the CDK workflow and bootstrap errors, removal policies for stateful resources, Terraform state storage and locking in S3, and how Git sync deploys stacks through AWS CodeConnections.

How this module is organised

Running and Troubleshooting the AWS CDK Workflow explains the CDK. Managing AWS Resources with Terraform explains Terraform's provider and state, and Deploying Infrastructure from Git explains repository practices and Git sync.

  1. Running and Troubleshooting the AWS CDK Workflow Lesson 1
  2. Managing AWS Resources with Terraform Lesson 2
  3. Deploying Infrastructure from Git Lesson 3
  4. Practise and review
  5. Checkpoint Practice activities across the module
  6. Test your knowledge 5 questions