# python


03/19/2021, 2:35 PM
Hi again folks! I created a Dynamic custom Resource and relevant ResrouceProvider subclass. It works great and is surprisingly easy! One thing I didn't manage to get right however is to log from within the ResourceProvider for teh logs to show up on the resource: how do I get the current resource from e.g. the create() method? In other words: I use successfully, but don't know how to get the second parameter from within the ResrouceProvider's create() call (or any other call for that matter). So the info() text appears for the stack instead of the currently-being-created resource