Open mainframenzo opened 1 year ago
I believe the issue is with the line:
DeadlineRenderFarm(scope, 'deadline', props)
The scope
of the stack is actually a cdk.App
instance, so you're attempting to attach a construct to an App. Instead it should be:
DeadlineRenderFarm(self, 'deadline', props)
Let me know if that works.
@mainframenzo - just circling back here. Did the suggestion fix your problem?
I have an existing non-deadline render farm stack. I am trying to integrate deadline using the RFDK.
I tried to move the example SEP stack code (Python) into a CDK construct and then pull that construct in to my existing render farm stack, but I'm running into issues like this:
'deadline/recipes/RemoteConnectionServer' should be created in the scope of a Stack, but no Stack found
for various constructs.It's highly probable I'm doing something wrong as it seems very unCDK-like to force stack-level constructs? Do ya'll have any guidance on for doing this? For example, here is what I'm doing: