https://pulumi.com logo
#golang
Title
# golang
q

quick-king-51158

04/27/2023, 7:23 AM
can i pass custom properties/values on pulumi.context?
i

incalculable-parrot-23117

04/27/2023, 4:56 PM
Hey @quick-king-51158, no you cannot use pulumi.Context to plumb additional properties or values to functions and objects. You have to pass them in as regular parameters or fields in an
Args
struct — like you would for regular Go abstractions.
q

quick-king-51158

04/27/2023, 5:03 PM
yes i’ve figured, thanks!
4 Views