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

worried-lifeguard-96134

03/14/2022, 8:23 PM
HI, does when I use Pulumi I must use the
pulumi.Run(func(ctx *pulumi.Context) error {
or there is option to use the SDK directly/other option
s

stocky-restaurant-98004

03/14/2022, 8:39 PM
Because of how Go works, you have to call
pulumi.Run
from a
Main
. This is similar to how Lambda (and presumably other serverless technologies that use Golang) works for Go.
4 Views