I added a boolean attribute to the step, defaulting to true, indicating if the attached resource requires cleanup.
I then updated the deployments to indicate explicitly which steps don't require cleanup. As a result of having the cleanup logic, we can go ahead and attach all the resources to the steps (getting rid of a bunch of those pesky nil lines).
I added a boolean attribute to the step, defaulting to true, indicating if the attached resource requires cleanup.
I then updated the deployments to indicate explicitly which steps don't require cleanup. As a result of having the cleanup logic, we can go ahead and attach all the resources to the steps (getting rid of a bunch of those pesky
nil
lines).