https://pulumi.com logo
#general
Title
# general
s

salmon-account-74572

03/16/2024, 3:01 PM
@limited-rainbow-51650 Do you happen to have working Go code for the Talos provider? The examples in the docs and in the
examples
directory of the repository don't seem to work. (There doesn't seem to be a
machine.NewSecrets
function; the IDE flags it as missing and
pulumi up
fails with a panic. Reviewing the code shows a
machine.NewSecretsType
function, but then I run into errors with type mismatches when I attempt to use the result as an input elsewhere.)
I've been spelunking around in the code trying to understand what's going on. Looks like PR#69 changed
machine.NewSecrets
to
machine.NewSecretsType
. Unfortunately, it doesn't work as expected. Let's say
talosMs
represents the result of a
machine.NewSecretsType
call. While referencing
talosMs.ToSecretTypeOutput().MachineSecrets()
works, referencing
talosMs.ToSecretTypeOutput.ClientConfiguration()
does not work. Thoughts?
l

limited-rainbow-51650

03/18/2024, 8:52 AM
@salmon-account-74572 not from the top of my mind. I'm heading to KubeConEU, so I won't have much time before the weekend. Can you file an issue? https://github.com/pulumiverse/pulumi-talos/issues
s

salmon-account-74572

03/18/2024, 12:15 PM
Yep, will do. Good luck at KubeCon EU!