Is there in the Automation API to specify the org ...
# automation-api
b
Is there in the Automation API to specify the org a project is in?
Copy code
ws, err := auto.NewLocalWorkspace(ctx, auto.Project(workspace.Project{
		Name:    tokens.PackageName("..."),
		Runtime: workspace.NewProjectRuntimeInfo("go", nil),,
	}))
Basically, how can I replace
to specify the fully qualified name of my project? I tried
myorg/myproject
but it doesn’t seem to take.
l
You specify this via the stack name. There is a helper function with this (assuming you are using the pulumi.com backend) https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3/go/auto#FullyQualifiedStackName
b
In this case I don't have a stack - I want to list all stacks.
l
Ah, I see how this could be ambiguous. Would you mind opening an issue github.com/pulumi/pulumi/issues/new
b
Yes I will open one.