Skip to content

Commit 1766b65

Browse files
committed
Formatted resource arguments as code in docs
1 parent 8807c7f commit 1766b65

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/resources/password.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resource "aws_db_instance" "example" {
3636

3737
### Required
3838

39-
- `length` (Number) The length of the string desired. The minimum value for length is 1 and, length must also be >= (min_upper + min_lower + min_numeric + min_special).
39+
- `length` (Number) The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` + `min_lower` + `min_numeric` + `min_special`).
4040

4141
### Optional
4242

docs/resources/string.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ resource "random_string" "random" {
3131

3232
### Required
3333

34-
- `length` (Number) The length of the string desired. The minimum value for length is 1 and, length must also be >= (min_upper + min_lower + min_numeric + min_special).
34+
- `length` (Number) The length of the string desired. The minimum value for length is 1 and, length must also be >= (`min_upper` + `min_lower` + `min_numeric` + `min_special`).
3535

3636
### Optional
3737

internal/provider/string.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func stringSchemaV1(sensitive bool) map[string]*schema.Schema {
3232

3333
"length": {
3434
Description: "The length of the string desired. The minimum value for length is 1 and, length " +
35-
"must also be >= (min_upper + min_lower + min_numeric + min_special).",
35+
"must also be >= (`min_upper` + `min_lower` + `min_numeric` + `min_special`).",
3636
Type: schema.TypeInt,
3737
Required: true,
3838
ForceNew: true,

0 commit comments

Comments
 (0)