Skip to content

Commit

Permalink
add symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-hanley committed Jan 27, 2025
1 parent 2908d1a commit 8837c4c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 34 deletions.
18 changes: 1 addition & 17 deletions examples/monitors-logging/collection.tf
Original file line number Diff line number Diff line change
@@ -1,17 +1 @@
resource "chronosphere_notification_policy" "np" {
team_id = chronosphere_team.t.id
name = "team NP"

route {
severity = "warn"
notifiers = [chronosphere_email_alert_notifier.email.id]
}
}

resource "chronosphere_collection" "infra" {
name = "Infrastructure Collection"
team_id = chronosphere_team.t.id
description = "Collection of resources related to infrastructure services."

notification_policy_id = chronosphere_notification_policy.np.id
}
../collection-notification-policy/main.tf
5 changes: 1 addition & 4 deletions examples/monitors-logging/email.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
resource "chronosphere_email_alert_notifier" "email" {
name = "Email Blackhole"
to = "[email protected]"
}
../notifiers/email.tf
5 changes: 1 addition & 4 deletions examples/monitors-logging/team.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
resource "chronosphere_team" "t" {
name = "Team"
description = "Optional Team Description"
}
../collection/teams.tf
10 changes: 1 addition & 9 deletions examples/monitors-logging/version.tf
Original file line number Diff line number Diff line change
@@ -1,9 +1 @@
terraform {
required_providers {
chronosphere = {
# Version used by "make install" to simplify development.
version = "0.0.1-dev"
source = "local/chronosphereio/chronosphere"
}
}
}
../version.tf

0 comments on commit 8837c4c

Please sign in to comment.