Skip to content

Commit 0417a8c

Browse files
committed
fix(test): escape backslash in regex pattern for enhanced guardrail test
1 parent 30623d1 commit 0417a8c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/service/bedrock/guardrail_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ resource "aws_bedrock_guardrail" "test" {
652652
output_enabled = true
653653
description = "enhanced regex example"
654654
name = "enhanced_regex"
655-
pattern = "^\d{3}-\d{2}-\d{4}$"
655+
pattern = "^\\d{3}-\\d{2}-\\d{4}$"
656656
}
657657
}
658658
}

0 commit comments

Comments
 (0)