I'm trying to refactor my Pulumi Go code and want ...
# golang
g
I'm trying to refactor my Pulumi Go code and want to specify the root stack resource as an alias as discussed in https://www.pulumi.com/blog/cumundi-guest-post/. Is there an equivalent to the Typescript
pulumi.rootStackResource
in Go?
Found it by looking at the docs for Alias. First I saw that rootStackResource in Typescript is
undefined
and then I saw the Go docs saying:
Copy code
// To specify no original parent, use `Alias { NoParent: pulumi.Bool(true) }`.
After doing that,
pulumi up
correctly moved my resources.