Hi, is there any reason why `yaml.ConfigGroup` `ya...
# kubernetes
c
Hi, is there any reason why
yaml.ConfigGroup
yaml
field does not accept
Pulumi.Input<string>
? This way I'm unable to pass a string created from an output, for example from a secret
b
i noticed that too
you can always pulumi.output(myinput).apply(yaml => {}) though
c
not recommended to create resources inside apply, because unable to see them during preview, they're not part of the dependency graph
💯 1
if it's not by design works this way, then should be fixed
w
I think the reason it does not currently accept Input is actually the same one you point out - it can’t know what actual resources to create until the yaml is available - and if it accepted input it would have to do the same “create resources inside apply” in its implementation.
c
it's true 🙂