Menu

1 / 5

Catch Risky AWS Settings Before terraform apply: Checkov in GitLab CI

DEV Community: terraform·Chikara Inohara·about 8 hours ago
#jPN28YwB
#devtoterraform#devto#dev#checkov#resource
Long article (1407 words) — no AI summary yet.
Reading 0:00
15s threshold

In an earlier post (Japanese) I set up a self-hosted GitLab with a Runner. This time I used it to stop risky Terraform settings before apply .

The tool is Checkov . It statically analyzes Terraform, CloudFormation, Kubernetes YAML and more, and tells you things like "this S3 bucket isn't encrypted" or "SSH is open to the world".

Two things I want to get across:

Running it in CI and blocking the MR saves a lot of review back-and-forth

You won't fix everything, so when you skip a check, keep the reason in the code

All screenshots are real checkov runs on my Linux box.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.