Skip to content

Commit e22f0b2

Browse files
google_monitoring_alert_policy periods doc update & dataproc doc update (#10226) (#7121)
* enable_http_port_access is a boolean not a string * add doc update to alert policy notification rate limit period [upstream:cbd78670f83239f1029a12684b856f5b0a0c63c6] Signed-off-by: Modular Magician <[email protected]>
1 parent 8506d00 commit e22f0b2

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.changelog/10226.txt

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

google-beta/services/dataproc/resource_dataproc_cluster_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2125,7 +2125,7 @@ resource "google_dataproc_cluster" "with_endpoint_config" {
21252125
}
21262126
21272127
endpoint_config {
2128-
enable_http_port_access = "true"
2128+
enable_http_port_access = true
21292129
}
21302130
}
21312131
}

google-beta/services/monitoring/resource_monitoring_alert_policy.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,9 +890,10 @@ This limit is not implemented for alert policies that are not log-based.`,
890890
Elem: &schema.Resource{
891891
Schema: map[string]*schema.Schema{
892892
"period": {
893-
Type: schema.TypeString,
894-
Optional: true,
895-
Description: `Not more than one notification per period.`,
893+
Type: schema.TypeString,
894+
Optional: true,
895+
Description: `Not more than one notification per period.
896+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".`,
896897
},
897898
},
898899
},

website/docs/r/dataproc_cluster.html.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ cluster_config {
926926
```hcl
927927
cluster_config {
928928
endpoint_config {
929-
enable_http_port_access = "true"
929+
enable_http_port_access = true
930930
}
931931
}
932932
```

website/docs/r/monitoring_alert_policy.html.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -907,6 +907,7 @@ The following arguments are supported:
907907
* `period` -
908908
(Optional)
909909
Not more than one notification per period.
910+
A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".
910911

911912
<a name="nested_notification_channel_strategy"></a>The `notification_channel_strategy` block supports:
912913

0 commit comments

Comments
 (0)