Hey! I am using the inline program way to create r...
# golang
q
Hey! I am using the inline program way to create resources in a golang cli. I dont know why every time I want to create 2 snowflake databases the following happens: DB number 1 is created, then number 1 is deleted and finally DB number 2 is created...
globalStack, err = auto.UpsertStackInlineSource(globalCtx, stackName, projectName, pulumiFunc)
I am executing this for each DB,
pulumiFunc
contains different data for each DB
and then a
res, err = globalStack.Up(globalCtx, stdoutStreamer)
I am omitting al other provider config stuff
m
But still different stackname and projectname?
q
Hey. No, they are the same. I had to add N calls to snowflake.NewDatabase inside the pulumiFunc