Hi guys! I encounter issue with Pulumi and I need some help.
I'm trying to work with Resource indirectly created while running a stack. When creating a GCP Functions triggered by a PubSub topic, it will create a subscription for that function and topic (named gcf-<function name>-<region name>-<topic>). I want to modify that subscription to have a DLQ, but:
• If I try to create the resource, it will fail as it will be created when Pulumi will create the function
• If I try to import the resource, it will fail as the resource won't exist when "planning"
Any clues on how to do it the proper way? Thanks in advance 😄