in helpers/foundation-deployer/stages/destroy.go [115:128]
func DestroyNetworksStage(t testing.TB, s steps.Steps, outputs BootstrapOutputs, c CommonConf) error {
step := GetNetworkStep(c.EnableHubAndSpoke)
stageConf := StageConf{
Stage: NetworksRepo,
StageSA: outputs.NetworkSA,
CICDProject: outputs.CICDProject,
Step: step,
Repo: NetworksRepo,
HasManualStep: true,
GroupingUnits: []string{"envs"},
Envs: []string{"development", "nonproduction", "production"},
}
return destroyStage(t, stageConf, s, c)
}