How do you get the stack name via golang sdk? ie s...
# golang
b
How do you get the stack name via golang sdk? ie something like:
Copy code
pulumi.Run(func(ctx *pulumi.Context) error {
		awsCfg := config.New(ctx, "aws")
		region := awsCfg.Require("region")
		stackName :=  ctx.stack
ctx.stack
doesn't exist but *pulumi.Context has stack
Copy code
type Context struct {
	ctx         context.Context
	info        RunInfo
	stack       Resource
b
b
Ha nice meeting you here and thanks!
b
👍