Skip to content

Commit

Permalink
google_monitoring_alert_policy periods doc update & dataproc doc upda…
Browse files Browse the repository at this point in the history
…te (#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 <magic-modules@google.com>
  • Loading branch information
modular-magician authored Mar 19, 2024
1 parent 8506d00 commit e22f0b2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .changelog/10226.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ resource "google_dataproc_cluster" "with_endpoint_config" {
}
endpoint_config {
enable_http_port_access = "true"
enable_http_port_access = true
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -890,9 +890,10 @@ This limit is not implemented for alert policies that are not log-based.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"period": {
Type: schema.TypeString,
Optional: true,
Description: `Not more than one notification per period.`,
Type: schema.TypeString,
Optional: true,
Description: `Not more than one notification per period.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".`,
},
},
},
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/dataproc_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ cluster_config {
```hcl
cluster_config {
endpoint_config {
enable_http_port_access = "true"
enable_http_port_access = true
}
}
```
Expand Down
1 change: 1 addition & 0 deletions website/docs/r/monitoring_alert_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ The following arguments are supported:
* `period` -
(Optional)
Not more than one notification per period.
A duration in seconds with up to nine fractional digits, terminated by 's'. Example "60.5s".

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

Expand Down

0 comments on commit e22f0b2

Please sign in to comment.