https://pulumi.com logo
#general
Title
# general
s

sparse-intern-71089

07/01/2022, 3:33 PM
This message was deleted.
i

important-leather-28796

07/01/2022, 6:14 PM
This is a basic programming question. You should search and learn about variable scopes. Like “block scoping variables”
n

nice-fountain-53326

07/01/2022, 6:36 PM
Hi rosshevin, Thanks for your response. Would be nice if you can quickly point the fix. I made research prior to posting here for support.
i

important-leather-28796

07/01/2022, 6:37 PM
variable
CustomerIngestionAuthorizationRule
does not exist where you use it.
n

nice-fountain-53326

07/01/2022, 6:55 PM
Yes, I assume it is because it is referenced outside the if statement? So how can I reference it e within the return block. Thank you
i

important-leather-28796

07/01/2022, 6:58 PM
I’m not trying to be difficult, but it seems you need to spend a day (at least) on basic coding tutorials. I gave you some pointers; I don’t have time to fix your code for you when it is so simple, because you have more than one problem. If you want to code, you are going to have to learn to teach yourself. It might be painful for a while, but stick with it, persevere and you can do it. Good luck.
n

nice-fountain-53326

07/01/2022, 7:53 PM
Sadly, you couldn't solve the problem. But thanks for the response, though it was more of words👍.
5 Views