diff --git a/command/e2etest/automation_test.go b/command/e2etest/automation_test.go index 9c42ae5276..b7214bc0fb 100644 --- a/command/e2etest/automation_test.go +++ b/command/e2etest/automation_test.go @@ -73,13 +73,12 @@ func TestPlanApplyInAutomation(t *testing.T) { // stateResources := plan.Changes.Resources diffResources := plan.Changes.Resources - if len(diffResources) != 2 { + if len(diffResources) != 1 { t.Errorf("incorrect number of resources in plan") } expected := map[string]plans.Action{ - "data.template_file.test": plans.Read, - "null_resource.test": plans.Create, + "null_resource.test": plans.Create, } for _, r := range diffResources { diff --git a/command/e2etest/primary_test.go b/command/e2etest/primary_test.go index 31aabd2fd4..28aa3c4517 100644 --- a/command/e2etest/primary_test.go +++ b/command/e2etest/primary_test.go @@ -72,13 +72,12 @@ func TestPrimarySeparatePlan(t *testing.T) { } diffResources := plan.Changes.Resources - if len(diffResources) != 2 { + if len(diffResources) != 1 { t.Errorf("incorrect number of resources in plan") } expected := map[string]plans.Action{ - "data.template_file.test": plans.Read, - "null_resource.test": plans.Create, + "null_resource.test": plans.Create, } for _, r := range diffResources {