You don't.
Under what circumstances would the tunnel be destroyed? Would it be just when the stack is being destroyed? In which case, you can just remove the stack config, as it's not being used.
c
creamy-monkey-35142
09/18/2023, 5:37 AM
I can understand that there is no way to automate it
e
echoing-dinner-19531
09/18/2023, 7:49 AM
How are you detecting the create action? I'd think you'd just be able to do the opposite of that
c
creamy-monkey-35142
09/18/2023, 7:52 AM
I’m not sure about that because I have a code block to create resource but there is no option to define code block to delete resource