diff --git a/internal/backend/remote/backend_plan.go b/internal/backend/remote/backend_plan.go index 430131050..82f33ec2d 100644 --- a/internal/backend/remote/backend_plan.go +++ b/internal/backend/remote/backend_plan.go @@ -273,14 +273,8 @@ in order to capture the filesystem context the remote workspace expects: "Failed to upload configuration files", errors.New("operation timed out")) } - queueMessage := "Queued manually using Terraform" - if op.Targets != nil { - queueMessage = "Queued manually via Terraform using -target" - } - runOptions := tfe.RunCreateOptions{ ConfigurationVersion: cv, - Message: tfe.String(queueMessage), Refresh: tfe.Bool(op.PlanRefresh), Workspace: w, } diff --git a/internal/backend/remote/backend_plan_test.go b/internal/backend/remote/backend_plan_test.go index 4d5676516..a231f149e 100644 --- a/internal/backend/remote/backend_plan_test.go +++ b/internal/backend/remote/backend_plan_test.go @@ -482,10 +482,6 @@ func TestRemote_planWithTarget(t *testing.T) { if diff := cmp.Diff([]string{"null_resource.foo"}, run.TargetAddrs); diff != "" { t.Errorf("wrong TargetAddrs in the created run\n%s", diff) } - - if !strings.Contains(run.Message, "using -target") { - t.Errorf("incorrect Message on the created run: %s", run.Message) - } } }