Hello, hope this is the right channel : )... When...
# pulumiverse
s
Hello, hope this is the right channel : )... When writing a Python program using
pulumi-talos
, following the python example, I've the following error:
Copy code
Exception: invoke of talos:machine/getConfiguration:getConfiguration failed: invocation of talos:machine/getConfiguration:getConfiguration returned an error: [AttributeName("machine_secrets").AttributeName("secrets").AttributeName("bootstrap_token")] Missing Configuration for Required Attribute: Must set a configuration value for the machine_secrets.secrets.bootstrap_token attribute as the provider has marked it as required.
I'm a bit clueless, because sometimes the error is for attribute
certs.k8s_aggregator
or other. If I register and output for
secrets.machine_secrets
I can see the attributes are always there. I tried to workaround with
Output.all
and
apply
, but no luck. Any hint to what could be? Thanks in advance! PD: I'm just starting to play around with both Pulumi and Talos provider.
Copy code
Exception: invoke of talos:machine/getConfiguration:getConfiguration failed: invocation of talos:machine/getConfiguration:getConfiguration returned an error: [AttributeName("machine_secrets").AttributeName("certs").AttributeName("k8s_aggregator")] Missing Configuration for Required Attribute: Must set a configuration value for the machine_secrets.certs.k8s_aggregator attribute as the provider has marked it as required.
l
@square-jelly-99179 I might be a bit late to chime in. I try to maintain the Talos provider as good as possible, but I'm lagging behind in fixing some issues. If you bump into issues, don't hesitate to file an issue: https://github.com/pulumiverse/pulumi-talos/issues While I might not respond immediately, it is important to report issues so they can be fixed in the end.
s
Sure, thanks @limited-rainbow-51650