mirror of https://github.com/pulumi/pulumi.git
18 lines
312 B
Go
18 lines
312 B
Go
package main
|
|
|
|
import (
|
|
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
|
|
)
|
|
|
|
func main() {
|
|
pulumi.Run(func(ctx *pulumi.Context) error {
|
|
_, err := pulumi.NewStackReference(ctx, "stackRef", &pulumi.StackReferenceArgs{
|
|
Name: pulumi.String("foo/bar/dev"),
|
|
})
|
|
if err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
})
|
|
}
|