@green-stone-37839 Thanks! That worked. I have been trying this for a couple of hours and I could have sworn that I tried this method.
Does this work because the secret is decrypted only one when the method is called versus being placed into a new string and then used later?
g
green-stone-37839
03/15/2023, 9:19 PM
This works because the
pushEndpoint
property itself accepts outputs. An output can never be a plain value (string, bool, etc) but using apply (or interpolate in this case) you can construct a new output that fits your purpose.
green-stone-37839
03/15/2023, 9:19 PM
Basically, you can only interrogate an output's underlying value in an apply, interpolate, etc.
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.