Version-controlled working notes for a security practitioner on an AWS team. The repo covers two domains, AWS security and Terraform, in six kinds of material, each with a different job:
| Folder | What it is | Use it when |
|---|---|---|
exam/ |
Blueprint alignment for AWS Certified Security – Specialty (SCS-C03), HashiCorp Certified: Terraform Associate (004), and the security content of related AWS certifications | Planning study, checking coverage |
teaching/ |
Long-form teaching notes, one per exam domain (SCS-C03 in teaching/, Terraform in teaching/terraform/): mental models, worked examples, pitfalls, self-check questions |
Learning or teaching a topic |
cheatsheets/ |
Dense quick reference: decision tables, limits, policy snippets, CLI commands | You know the topic and need the fact |
runbooks/ |
Step-by-step incident response procedures with commands | Something is on fire |
labs/ |
Hands-on Terraform labs that run against the floci local AWS emulator | Practicing without an AWS account or a bill |
control-mappings/ |
NIST SP 800-53 Rev. 5 control impact mappings per AWS service and configuration | Writing an SSP, answering an auditor, assessing a change |
- Studying for SCS-C03: exam/scs-c03-blueprint.md maps every task statement to notes in this repo. exam/study-plan.md sequences them.
- Studying for Terraform Associate (004): exam/terraform-associate-blueprint.md maps every objective to notes and labs. exam/terraform-study-plan.md sequences them.
- Learning Terraform by doing: labs/README.md starts the emulator and indexes the labs.
- Running Terraform against real AWS: read Securing Terraform on AWS first.
- Holding or pursuing another AWS cert: exam/related-certifications.md shows which notes cover its security content.
- On call: runbooks/README.md has the index and the first-five-minutes checklist.
- Compliance work: control-mappings/README.md explains the mapping method; control-mappings/control-impact-matrix.csv is the filterable dataset.
| # | Domain | SCS-C03 weight | Note |
|---|---|---|---|
| 1 | Detection | 16% | teaching/01-detection.md |
| 2 | Incident Response | 14% | teaching/02-incident-response.md |
| 3 | Infrastructure Security | 18% | teaching/03-infrastructure-security.md |
| 4 | Identity and Access Management | 20% | teaching/04-identity-and-access-management.md |
| 5 | Data Protection | 18% | teaching/05-data-protection.md |
| 6 | Security Foundations and Governance | 14% | teaching/06-security-foundations-and-governance.md |
| # | Domain | Terraform Associate (004) objectives | Note |
|---|---|---|---|
| 1 | Infrastructure as Code with Terraform | 1a–1c | teaching/terraform/01-iac-with-terraform.md |
| 2 | Terraform fundamentals | 2a–2d | teaching/terraform/02-terraform-fundamentals.md |
| 3 | Core Terraform workflow | 3a–3g | teaching/terraform/03-core-workflow.md |
| 4 | Terraform configuration | 4a–4h | teaching/terraform/04-configuration.md |
| 5 | Terraform modules | 5a–5d | teaching/terraform/05-modules.md |
| 6 | Terraform state management | 6a–6d | teaching/terraform/06-state-management.md |
| 7 | Maintain infrastructure with Terraform | 7a–7c | teaching/terraform/07-maintaining-infrastructure.md |
| 8 | HCP Terraform | 8a–8d | teaching/terraform/08-hcp-terraform.md |
| 9 | Securing Terraform on AWS | Not an exam domain; SCS-C03 6.2.1 | teaching/terraform/09-securing-terraform-on-aws.md |
- IAM policy evaluation
- Organization policies: SCPs, RCPs, declarative policies
- KMS
- S3 security
- Network security
- Logging sources
- Security services at a glance
- CLI one-liners
- Terraform CLI
- Terraform language (HCL)
- Terraform state and backends
- Terraform AWS provider security
- Compromised IAM credentials
- Compromised EC2 instance
- S3 data exposure
- GuardDuty finding triage
- Root user activity
- CloudTrail tampering
- KMS key scheduled for deletion
- Ransomware and data destruction
- Terraform state exposure
- Terraform state lock and corruption
- Terraform unexpected drift
- Terraform pipeline compromise
- Setup, index, and emulator limits
- 01 First apply
- 02 Remote state
- 03 Variables and modules
- 04 IAM least privilege
- 05 KMS and secrets
- 06 Drift and import
- 07 Tests and guardrails
- 08 Detection baseline
- Method and how to read a mapping
- By control family
- By service group: identity, data protection, network, logging and detection, compute, governance, IaC with Terraform
- Control impact matrix (CSV)
AWS and Terraform change constantly. Every note carries a Last reviewed date in its header. Treat anything older than six months as needing a check against AWS or HashiCorp documentation before you rely on it for a production decision or an audit response. Limits, defaults, and supported-service lists go stale fastest; the notes mark those with (verify).
These notes are not authoritative for compliance. Control mappings describe how an AWS configuration can support a control. Whether a control is satisfied in your system is a determination for your assessor.
See CONTRIBUTING.md for conventions, templates, and the review cadence.
| Script | Purpose |
|---|---|
scripts/check-links.sh |
Verifies every relative link and heading anchor. Run before committing. |
scripts/build-control-matrix.sh |
Regenerates control-mappings/control-impact-matrix.csv from the tables in control-mappings/services/. Run after editing a mapping. |
Both need Bash; the matrix script needs GNU awk (included with Git for Windows).
The labs need Docker, Terraform, and the AWS CLI. See labs/README.md.