Skip to content

Commit b9f6825

Browse files
committed
Verify the applied plan is not empty (sql resources would be created)
1 parent eff01f7 commit b9f6825

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mmv1/third_party/terraform/services/monitoring/resource_monitoring_alert_policy_test.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ func testAccMonitoringAlertPolicy_sql(t *testing.T) {
247247
Config: testAccMonitoringAlertPolicy_sqlCfg(),
248248
// SQL alerts require additional GCP resources to be created and billed,
249249
// so we only run the plan test for now.
250-
PlanOnly: true,
250+
PlanOnly: true,
251+
ExpectNonEmptyPlan: true,
251252
},
252253
},
253254
})

0 commit comments

Comments
 (0)