Skip to content

Commit 2f26b39

Browse files
committed
docs
1 parent 6d23853 commit 2f26b39

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/data-sources/parameter.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Optional:
5757

5858
Optional:
5959

60-
- `error` (String) An error message to display if the value breaks the validation rules.
60+
- `error` (String) An error message to display if the value breaks the validation rules. The following placeholders are supported: {max}, {min}, and {value}.
6161
- `max` (Number) The maximum of a number parameter.
6262
- `min` (Number) The minimum of a number parameter.
6363
- `monotonic` (String) Number monotonicity, either increasing or decreasing.

provider/parameter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func parameterDataSource() *schema.Resource {
317317
"error": {
318318
Type: schema.TypeString,
319319
Optional: true,
320-
Description: "An error message to display if the value breaks the validation rules.",
320+
Description: "An error message to display if the value breaks the validation rules. The following placeholders are supported: {max}, {min}, and {value}.",
321321
},
322322
},
323323
},

0 commit comments

Comments
 (0)