Skip to content

Commit ca7cdec

Browse files
default value add to fix test failures (#3616) (#2152)
Signed-off-by: Modular Magician <[email protected]>
1 parent 8697b43 commit ca7cdec

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.changelog/3616.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
```release-note:none
2+
```

google-beta/resource_monitoring_uptime_check_config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ func resourceMonitoringUptimeCheckConfig() *schema.Resource {
6969
Type: schema.TypeString,
7070
Optional: true,
7171
ValidateFunc: validation.StringInSlice([]string{"CONTAINS_STRING", "NOT_CONTAINS_STRING", "MATCHES_REGEX", "NON_MATCHES_REGEX", ""}, false),
72-
Description: `The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Possible values: ["CONTAINS_STRING", "NOT_CONTAINS_STRING", "MATCHES_REGEX", "NON_MATCHES_REGEX"]`,
72+
Description: `The type of content matcher that will be applied to the server output, compared to the content string when the check is run. Default value: "CONTAINS_STRING" Possible values: ["CONTAINS_STRING", "NOT_CONTAINS_STRING", "MATCHES_REGEX", "NON_MATCHES_REGEX"]`,
73+
Default: "CONTAINS_STRING",
7374
},
7475
},
7576
},

website/docs/r/monitoring_uptime_check_config.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ The `content_matchers` block supports:
186186
(Optional)
187187
The type of content matcher that will be applied to the server output, compared to the content string when the check is run.
188188

189+
Default value: `CONTAINS_STRING`
189190
Possible values are:
190191
* `CONTAINS_STRING`
191192
* `NOT_CONTAINS_STRING`

0 commit comments

Comments
 (0)