@@ -46,7 +46,7 @@ func TestAccMonitorNotificationChannelTeamEmail(t *testing.T) {
4646
4747func monitorNotificationChannelTeamEmailWithName (name string ) string {
4848 return fmt .Sprintf (`
49- resource "sysdig_monitor_team" "sample " {
49+ resource "sysdig_monitor_team" "sample1 " {
5050 name = "monitor-sample-%s"
5151 entrypoint {
5252 type = "Explore"
@@ -55,15 +55,15 @@ resource "sysdig_monitor_team" "sample" {
5555resource "sysdig_monitor_notification_channel_team_email" "sample_team_email1" {
5656 name = "Example Channel %s - team email"
5757 enabled = true
58- team_id = sysdig_monitor_team.sample .id
58+ team_id = sysdig_monitor_team.sample1 .id
5959 notify_when_ok = true
6060 notify_when_resolved = true
6161}` , name , name )
6262}
6363
6464func monitorNotificationChannelTeamEmailSharedWithCurrentTeam (name string ) string {
6565 return fmt .Sprintf (`
66- resource "sysdig_monitor_team" "sample " {
66+ resource "sysdig_monitor_team" "sample2 " {
6767 name = "monitor-sample-%s"
6868 entrypoint {
6969 type = "Explore"
@@ -72,7 +72,7 @@ resource "sysdig_monitor_team" "sample" {
7272resource "sysdig_monitor_notification_channel_team_email" "sample_team_email2" {
7373 name = "Example Channel %s - team email"
7474 enabled = true
75- team_id = sysdig_monitor_team.sample .id
75+ team_id = sysdig_monitor_team.sample2 .id
7676 notify_when_ok = true
7777 notify_when_resolved = true
7878 share_with_current_team = true
0 commit comments