You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -286,7 +287,11 @@ var boolFlags = map[string]boolFlag{
286
287
defaultValue: false,
287
288
},
288
289
DisableApplyAllFlag: {
289
-
description: "Disable \"atlantis apply\" command so a specific project/workspace/directory has to be specified for applies.",
290
+
description: "Disable \"atlantis apply\" command without any flags (i.e. apply all). A specific project/workspace/directory has to be specified for applies.",
291
+
defaultValue: false,
292
+
},
293
+
DisableApplyFlag: {
294
+
description: "Disable all \"atlantis apply\" command regardless of which flags are passed with it.",
vcsClient.VerifyWasCalledOnce().CreateComment(fixtures.GithubRepo, modelPull.Num, "**Error:** Running `atlantis apply` without flags is disabled. You must specify which project to apply via the `-d <dir>`, `-w <workspace>` or `-p <project name>` flags.", "apply")
@@ -300,8 +304,9 @@ var policyCheckNextSteps = "* :arrow_forward: To **apply** this plan, comment:\n
300
304
301
305
// planNextSteps are instructions appended after successful plans as to what
302
306
// to do next.
303
-
varplanNextSteps="{{ if .PlanWasDeleted }}This plan was not saved because one or more projects failed and automerge requires all plans pass.{{ else }}* :arrow_forward: To **apply** this plan, comment:\n"+
304
-
" * `{{.ApplyCmd}}`\n"+
307
+
varplanNextSteps="{{ if .PlanWasDeleted }}This plan was not saved because one or more projects failed and automerge requires all plans pass.{{ else }}"+
308
+
"{{ if not .DisableApply }}* :arrow_forward: To **apply** this plan, comment:\n"+
309
+
" * `{{.ApplyCmd}}`\n{{end}}"+
305
310
"* :put_litter_in_its_place: To **delete** this plan click [here]({{.LockURL}})\n"+
306
311
"* :repeat: To **plan** this project again, comment:\n"+
0 commit comments