fierce-vr-50495
11/26/2021, 3:36 PMgo run main.go
I get the following output
2021/11/26 16:28:42 Created/Selected stack "org/proj/stack"
2021/11/26 16:28:42 Installing the Kubernetes Plugin
2021/11/26 16:28:42 Successfully installed kubernetes v3.10.1
2021/11/26 16:28:44 Successfully set config
2021/11/26 16:28:44 Starting refresh
2021/11/26 16:28:45 Failed to refresh stack: failed to refresh stack: exit status 255
code: 255
stdout:
stderr: error: no stack named 'org/proj/stack' found
exit status 1
Any hints what I’m missing might miss?billowy-army-68599
11/26/2021, 3:39 PM/org/project/stack
?fierce-vr-50495
11/26/2021, 3:46 PMorgName := "org"
projectName := "proj"
stackName := auto.FullyQualifiedStackName(orgName, projectName, "stack")
// create or select a stack matching the specified name and project.
// this will set up a workspace with everything necessary to run our inline program (deployFunc)
s, err := auto.UpsertStackInlineSource(ctx, stackName, projectName, deployFunc)
if err != nil {
log.Printf("Failed to create Stack: %v\n", err)
}
I would assume that auto.UpsertStackInlineSource is doing what needs to be done to set itbillowy-army-68599
11/26/2021, 3:51 PMorg
for that to work, do you have a pulumi login?fierce-vr-50495
11/26/2021, 3:52 PMbillowy-army-68599
11/26/2021, 3:52 PMorgName := "org"
with
orgName := "my-pulumi-login-name"