Skip to content

Commit 5278386

Browse files
authored
docs: Fix regex in aws_s3_bucket_name (#44)
1 parent 744ab45 commit 5278386

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/aws_s3_bucket_name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Ensures all S3 bucket names match the specified naming rules.
77
```hcl
88
rule "aws_s3_bucket_name" {
99
enabled = true
10-
regex = "[a-z\-]+"
10+
regex = "^[a-z\\-]+$"
1111
prefix = "my-org"
1212
}
1313
```

0 commit comments

Comments
 (0)