how do you extract values from the main `Pulumi.ya...
# general
p
how do you extract values from the main
Pulumi.yaml
? I can get values from the
Pulumi.stack.yaml
using
config.Require()
e
Do you mean config values? They get merged into the values from the stack.yaml and so should also be readable via things like
config.Require()
s
And there’s a
pulumi.getProject()
method you can use to get the project name.
p
thank you guys! ❤️
@salmon-account-74572 where do you see getproject in the api? https://pkg.go.dev/github.com/pulumi/pulumi/sdk/v3@v3.65.1/go/pulumi
s
(And there’s also
Organization()
and
Stack()
, in case you need those as well.)
p
thank you @salmon-account-74572! ❤️
s
Happy to help!