@@ -46,7 +46,7 @@ func TestAccMonitorNotificationChannelTeamEmail(t *testing.T) {
46
46
47
47
func monitorNotificationChannelTeamEmailWithName (name string ) string {
48
48
return fmt .Sprintf (`
49
- resource "sysdig_monitor_team" "sample " {
49
+ resource "sysdig_monitor_team" "sample1 " {
50
50
name = "monitor-sample-%s"
51
51
entrypoint {
52
52
type = "Explore"
@@ -55,15 +55,15 @@ resource "sysdig_monitor_team" "sample" {
55
55
resource "sysdig_monitor_notification_channel_team_email" "sample_team_email1" {
56
56
name = "Example Channel %s - team email"
57
57
enabled = true
58
- team_id = sysdig_monitor_team.sample .id
58
+ team_id = sysdig_monitor_team.sample1 .id
59
59
notify_when_ok = true
60
60
notify_when_resolved = true
61
61
}` , name , name )
62
62
}
63
63
64
64
func monitorNotificationChannelTeamEmailSharedWithCurrentTeam (name string ) string {
65
65
return fmt .Sprintf (`
66
- resource "sysdig_monitor_team" "sample " {
66
+ resource "sysdig_monitor_team" "sample2 " {
67
67
name = "monitor-sample-%s"
68
68
entrypoint {
69
69
type = "Explore"
@@ -72,7 +72,7 @@ resource "sysdig_monitor_team" "sample" {
72
72
resource "sysdig_monitor_notification_channel_team_email" "sample_team_email2" {
73
73
name = "Example Channel %s - team email"
74
74
enabled = true
75
- team_id = sysdig_monitor_team.sample .id
75
+ team_id = sysdig_monitor_team.sample2 .id
76
76
notify_when_ok = true
77
77
notify_when_resolved = true
78
78
share_with_current_team = true
0 commit comments