Skip to content

Commit

Permalink
Re-orders dispose to hopefully cleanup remaining fablab EC2 instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete DiBona committed Jan 17, 2024
1 parent bff008f commit 6b0c02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zititest/models/db-creation/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,12 @@ var m = &model.Model{
},

Disposal: model.Stages{
terraform.Dispose(),
model.StageActionF(func(run model.Run) error {
m := run.GetModel()
s := actions.Route53StringCreator(m, actions.Delete)
return host.Exec(m.MustSelectHost("#ctrl"), s).Execute(run)
}),
terraform.Dispose(),
aws_ssh_key2.Dispose(),
},
}
Expand Down

0 comments on commit 6b0c02d

Please sign in to comment.