Who this Terraform course is for
Every GRC person has been asked how they know a control was working. For most teams the answer is a screenshot: one setting, on one day, with no author and no approval attached. A SOC 2 Type 2 report covers months of operation, and that screenshot covers a single moment of it.
Engineering teams stopped clicking through cloud consoles years ago. They describe infrastructure in Terraform files, and every change to a security setting goes through a pull request and a plan before it touches the cloud. The evidence you need is already sitting in those files and reviews.
This course is for compliance analysts, IT auditors, risk managers, and anyone in GRC (Governance, Risk, and Compliance) who wants to read that evidence. You will not write or deploy anything. If infrastructure as code is new to you, pair it with How to Audit Infrastructure as Code.
The 9 chapters
Watch in order. Each chapter builds on the one before it, and the whole course runs about 44 minutes.
4:38Chapter 1
Why GRC people should care
A screenshot shows one setting on one day. It cannot tell you who changed it, who approved it, or whether it was off last week. A reviewed Terraform change records the author, the exact change, the approver, and the time, which is the evidence SOC 2 Common Criteria 8.1 and NIST 800-53 configuration change control ask for.
5:27Chapter 2
What Terraform is
Terraform works the way a policy does: you declare the end result and the tool works out the steps. A provider connects it to each cloud. Files are made of blocks, and three matter most: provider settings, variables, and resources. Read any block with three questions. What is it, what is it set to, and what is missing?
5:48Chapter 3
The workflow: init, plan, apply
Init prepares the folder and locks tool versions. Plan shows what would change and changes nothing. Apply makes it real, and destroy removes it. Read a plan from the summary line up, check the destroy count first, and watch for replacements. Then ask whether the plan that was approved is the plan that ran.
7:26Chapter 4
One control, three clouds
One requirement, an evidence store that is never public and keeps old versions, written on Amazon Web Services, Azure, and Google Cloud. AWS spreads it across four resources, Azure puts it in one storage account, and Google Cloud uses one bucket. True is not always the safe value, so read every line as a sentence. When a file is silent, as it often is on encryption, ask for evidence of the default.
4:57Chapter 5
State and drift
State is the map between code and cloud, and it can hold secrets in plain text even when Terraform hides them on screen, so it belongs in audit scope. Drift is any gap between the code and what actually exists. A plan run on a schedule finds it and becomes a detective control. Each finding gets reverted, adopted, or accepted as a documented exception.
4:11Chapter 6
Modules
A module packages an approved pattern so one review serves every team that uses it. Reading one comes down to what is locked and what is open. Fixes only reach teams when they upgrade, so track who is on which version, and remember a module is optional unless something makes it mandatory.
5:03Chapter 7
Policy as code
Policy as code turns a requirement into a rule a machine checks on every change. The chapter runs Checkov, a free scanner, against a real change that turns off a public access setting and watches it fail. The exit code is what blocks the pipeline. Then test the control itself: which rules are on, where are the skips, and does a failure really stop the change?
4:32Chapter 8
The audit trail
Pull request, plan, policy check, approval, apply, and scheduled drift check each leave a record. Together they map to SOC 2 CC8.1, NIST 800-53 configuration change control, and ISO 27001 Annex A 8.32. Test the whole population of merged changes, then prove completeness by comparing it against CloudTrail, the Azure Activity Log, or Cloud Audit Logs.
1:18Chapter 9
What to do next
Five questions to ask an engineer this week. Does our infrastructure run through Terraform? Where does the state file live, and who can read it? Can you show me one recent pull request and its plan? What happens when a policy check fails? Can someone change production without going through this?
How to read any Terraform block in three questions
The course teaches one method you can use on any cloud. First, what is it? Read the type on the first line of the block. Second, what is it set to? Read the values. Third, what is missing? Terraform only does what the file says, so a bucket with no public access setting beside it gets whatever the cloud gives by default.
resource "aws_s3_bucket_public_access_block" "evidence" {
bucket = aws_s3_bucket.evidence.id
block_public_acls = true
block_public_policy = true
ignore_public_acls = true
restrict_public_buckets = true
}That block is the control "audit evidence is never public," written in a form a machine applies. On Amazon Web Services all four switches have to be true, and three out of four is a gap. On Azure the safe value for the matching setting is false, which is why the course teaches you to read every line out loud as a sentence. Engineers tend to read what is on the page. Control testers are trained to notice what is not.
Frequently asked questions
What is Terraform?
Terraform is an infrastructure as code tool made by HashiCorp. Teams describe cloud resources, like a storage bucket and its security settings, in text files, and Terraform makes the cloud match the file. It works across Amazon Web Services, Azure, Google Cloud, and thousands of other services through plug-ins called providers.
Why should GRC and compliance people learn Terraform?
Because that is where control changes happen now. When a company manages its cloud with Terraform, every change to a security setting travels as a pull request with an author, a reviewer, a plan showing the exact effect, and a timestamp. That record is stronger change management evidence than a screenshot, and reading it puts GRC in the room before the audit instead of after it.
Do I need to know how to code to learn Terraform for GRC?
No. Intro to Terraform for GRC teaches you to read Terraform, which is a different and much easier skill than writing it. Reading a block to confirm a setting is closer to reading a configuration form than to programming. You do not install anything or deploy anything during the course.
How do you audit Terraform?
Start with the population of merged pull requests in the audit period and test all of them, since the data is structured. For each change, check the plan, the policy check result, and a named approver who is not the author. Then prove completeness by comparing changes in the cloud logs (CloudTrail, Azure Activity Log, or Cloud Audit Logs) against that list. Anything in the logs with no matching pull request went around the process. Pair this with a check of live settings, because drift can make approved code wrong.
Which compliance controls does Terraform help with?
The Terraform workflow maps most directly to change management: SOC 2 Common Criteria 8.1, NIST 800-53 configuration change control, and ISO 27001 Annex A control 8.32. Settings in the files, such as blocking public access on a storage bucket, map to access controls like SOC 2 CC6.1 and NIST 800-53 access enforcement.
What is Terraform drift, and why does it matter for compliance?
Drift is any difference between what the Terraform code says and what actually exists in the cloud, usually because someone changed a setting by hand. It matters because your code review can be perfect while the live setting is wrong. Running terraform plan on a schedule detects drift, and each finding should be reverted, adopted through a normal review, or accepted as a documented exception with an owner and an end date.
Is the Terraform state file a compliance risk?
It can be. Terraform marks values like generated passwords as sensitive and hides them on screen, but the state file can still store them in plain text. Treat state as sensitive data: keep it in encrypted remote storage, never in source control, restrict and review who can read it, and use locking so two people cannot write to it at once.
Is Intro to Terraform for GRC free?
Yes. All 9 chapters, about 44 minutes in total, are free on the GRC Engineering Club YouTube channel. To go from reading Terraform to writing it, with hands-on labs, the CGE-P Practitioner certification in the GRC Engineering Club Academy covers that next step.