File tree Expand file tree Collapse file tree 3 files changed +46
-10
lines changed
examples/simple/monitoring Expand file tree Collapse file tree 3 files changed +46
-10
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- variable "project_id" {
16- type = string
17- description = " Google Cloud project ID"
18- }
19-
20- variable "notification_email" {
21- type = string
22- description = " Email address to send alert notifications to"
23- }
24-
2515resource "google_monitoring_notification_channel" "email" {
2616 display_name = " ABFS Email Notification Channel"
2717 type = " email"
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ terraform {
16+ required_version = " >= 1.9.6"
17+ required_providers {
18+ google = {
19+ source = " hashicorp/google"
20+ version = " ~> 6.11.0"
21+ }
22+ }
23+ }
Original file line number Diff line number Diff line change 1+ # Copyright 2025 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ variable "project_id" {
16+ type = string
17+ description = " Google Cloud project ID"
18+ }
19+
20+ variable "notification_email" {
21+ type = string
22+ description = " Email address to send alert notifications to"
23+ }
You can’t perform that action at this time.
0 commit comments