Skip to content

Commit

Permalink
default value add to fix test failures (hashicorp#3616) (hashicorp#6560)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Jun 9, 2020
1 parent fbd2d1b commit e5d8db0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .changelog/3616.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
```release-note:none
```
3 changes: 2 additions & 1 deletion google/resource_monitoring_uptime_check_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ func resourceMonitoringUptimeCheckConfig() *schema.Resource {
Type: schema.TypeString,
Optional: true,
ValidateFunc: validation.StringInSlice([]string{"CONTAINS_STRING", "NOT_CONTAINS_STRING", "MATCHES_REGEX", "NON_MATCHES_REGEX", ""}, false),
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"]`,
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"]`,
Default: "CONTAINS_STRING",
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ The `content_matchers` block supports:
(Optional)
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 are:
* `CONTAINS_STRING`
* `NOT_CONTAINS_STRING`
Expand Down

0 comments on commit e5d8db0

Please sign in to comment.