0-Upload Browser Checker · TF006 · TF008 · TF017 · IAM005 · IAM014

Free AWS S3 Public Access & Encryption Terraform Checker — 0 Upload

Paste or drop your Terraform (*.tf) S3 modules below to detect public ACLs, missing aws_s3_bucket_public_access_block, unencrypted buckets, disabled versioning, wildcard Principal: "*" bucket policies, and missing aws:SecureTransport TLS guards — 100% locally in your browser with zero AWS credentials.

Cross-File S3 Resource Correlation 0 Bytes Uploaded · Verifiable in DevTools CIS AWS v5.0 (2.1.1 / 2.1.3 / 2.1.4) SOC 2 CC6.1 · CC6.6 · CC6.7 · A1.2
1. Load an S3 Terraform Sample or Drop Local .tf Files
Drag & drop one or more local .tf or S3 bucket policy .json files — scanned strictly in browser memory.

AWS S3 Terraform Rules Checked Automatically

Rule ID Severity S3 Misconfiguration Caught Compliance Mapping
TF006 CRITICAL Public bucket ACL (public-read / public-read-write) or missing/incomplete aws_s3_bucket_public_access_block (all 4 booleans must be true) SOC 2 CC6.1 / CC6.6 · CIS AWS v5.0 2.1.4 · ISO A.5.15 / A.8.20
IAM005 CRITICAL Bucket policy granting Principal: "*" without an aws:PrincipalOrgID or aws:SourceArn condition SOC 2 CC6.1 / CC6.6 · CIS AWS v5.0 1.16 · ISO A.5.15 / A.5.18
TF008 HIGH aws_s3_bucket missing aws_s3_bucket_server_side_encryption_configuration (aws:kms or AES256) SOC 2 CC6.1 / CC6.7 · CIS AWS v5.0 2.1.1 · ISO A.8.24
TF017 MEDIUM aws_s3_bucket missing aws_s3_bucket_versioning with status = "Enabled" (ransomware & accidental overwrite recovery) SOC 2 CC6.1 / A1.2 · CIS AWS v5.0 2.1.3 · ISO A.8.13
IAM014 MEDIUM S3 data policy missing aws:SecureTransport: "true" TLS-only enforcement (prevents plaintext HTTP access) SOC 2 CC6.1 / CC6.7 · CIS AWS v5.0 2.1.1 · ISO A.8.24

Production-Ready CIS AWS v5.0 S3 Terraform Baseline (0 Findings)

resource "aws_kms_key" "s3_cmk" {
  description         = "S3 customer exports CMK"
  enable_key_rotation = true
}

resource "aws_s3_bucket" "customer_exports" {
  bucket = "acme-customer-exports-prod"
}

resource "aws_s3_bucket_public_access_block" "customer_exports" {
  bucket                  = aws_s3_bucket.customer_exports.id
  block_public_acls       = true
  block_public_policy     = true
  ignore_public_acls      = true
  restrict_public_buckets = true
}

resource "aws_s3_bucket_server_side_encryption_configuration" "customer_exports" {
  bucket = aws_s3_bucket.customer_exports.id
  rule {
    apply_server_side_encryption_by_default {
      sse_algorithm     = "aws:kms"
      kms_master_key_id = aws_kms_key.s3_cmk.arn
    }
  }
}

resource "aws_s3_bucket_versioning" "customer_exports" {
  bucket = aws_s3_bucket.customer_exports.id
  versioning_configuration {
    status = "Enabled"
  }
}

Enforce S3 & IAM Guardrails on Every Terraform PR (Zero Subscription)

Run the exact same 36 rules locally or in GitHub Actions with leastproof-cli (single 68 KB Node.js file, 0 npm deps) to export SARIF 2.1.0 and a SHA-256 sealed SOC 2 CC6.1 auditor dossier.