This message was deleted.
# typescript
s
This message was deleted.
w
What do you mean by "force a no-op"? If you want a sbset of the resources to not be applied in a given case - you can put them inside and
if () { }
. If you want to ignore possible changes to some resources under some condition, you can add
ignoreChanges: [...]
to resource options, setting the ignore bit on any properties that might be changed by your other stack.
s
Yeah, I thought there would a way to just bail out early based on a condition instead of having the entire index.ts inside an
if () { }
w
You could conditionally
require()
the file I suppose? There are several options from a JS/TS Code structure perspective.