@@ -25,9 +25,9 @@ func TestAccDataSourceSysdigMonitorTeamIBM(t *testing.T) {
2525 {
2626 Config : monitorTeamWithPlatformMetricsAndDatasourceIBM (name ),
2727 Check : resource .ComposeTestCheckFunc (
28- resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test_dt " , "name" , name ),
29- resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test_dt " , "enable_ibm_platform_metrics" , "true" ),
30- resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test_dt " , "ibm_platform_metrics" , "foo in (\" 0\" ) and bar in (\" 3\" )" ),
28+ resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test " , "name" , name ),
29+ resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test " , "enable_ibm_platform_metrics" , "true" ),
30+ resource .TestCheckResourceAttr ("data.sysdig_monitor_team.test " , "ibm_platform_metrics" , "foo in (\" 0\" ) and bar in (\" 3\" )" ),
3131 ),
3232 },
3333 },
@@ -36,7 +36,7 @@ func TestAccDataSourceSysdigMonitorTeamIBM(t *testing.T) {
3636
3737func monitorTeamWithPlatformMetricsAndDatasourceIBM (name string ) string {
3838 return fmt .Sprintf (`
39- resource "sysdig_monitor_team" "test " {
39+ resource "sysdig_monitor_team" "sample " {
4040 name = "%s"
4141 enable_ibm_platform_metrics = true
4242 ibm_platform_metrics = "foo in (\"0\") and bar in (\"3\")"
@@ -46,7 +46,7 @@ resource "sysdig_monitor_team" "test" {
4646 }
4747}
4848
49- data "sysdig_monitor_team" "test_dt " {
49+ data "sysdig_monitor_team" "test " {
5050 id = sysdig_monitor_team.sample.id
5151}
5252` , name )
0 commit comments