cloudformation-template-generator icon indicating copy to clipboard operation
cloudformation-template-generator copied to clipboard

Clean up `DependsOn`

Open seanmcl opened this issue 7 years ago • 2 comments

Currently DependsOn is spottily implemented in resources. Since DependsOn should be possible for all resources, I propose making it part of the Resource signature and dropping all occurrences in the individual resources.

Some discussion is here: #187

seanmcl avatar Sep 05 '17 17:09 seanmcl

I can't think of a way to do this (removing an argument from case classes) without a major version bump. Are people at Monsanto interested in this? It will require changes by all callers using DependsOn.

seanmcl avatar Sep 06 '17 14:09 seanmcl

After some tinkering, it seems possible in general to remove the argument by adding a new apply function without requiring a major version change.

seanmcl avatar Sep 14 '17 13:09 seanmcl