func DestroyProjectsStage()

in helpers/foundation-deployer/stages/destroy.go [130:142]


func DestroyProjectsStage(t testing.TB, s steps.Steps, outputs BootstrapOutputs, c CommonConf) error {
	stageConf := StageConf{
		Stage:         ProjectsRepo,
		StageSA:       outputs.ProjectsSA,
		CICDProject:   outputs.CICDProject,
		Step:          ProjectsStep,
		Repo:          ProjectsRepo,
		HasManualStep: true,
		GroupingUnits: []string{"business_unit_1", "business_unit_2"},
		Envs:          []string{"development", "non-production", "production"},
	}
	return destroyStage(t, stageConf, s, c)
}