Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions test_formatting.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Test file with intentional formatting issues
# This will test the pre-commit workflow

resource "aws_backup_vault" "test" {
name = "test-vault"
# Extra trailing whitespace above and missing newline below
kms_key_arn = aws_kms_key.backup.arn
}

resource "aws_kms_key" "backup"{description="Test KMS key"

# Inconsistent indentation and spacing
deletion_window_in_days=7}
Comment on lines +10 to +13

Check failure

Code scanning / checkov

Ensure rotation for customer created CMKs is enabled Error test

Ensure rotation for customer created CMKs is enabled
Comment on lines +10 to +13

Check failure

Code scanning / checkov

Ensure KMS key Policy is defined Error test

Ensure KMS key Policy is defined

# Missing final newline
Loading