Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

machine_secrets.secrets.bootstrap_token missing #103

Open
barti04 opened this issue Aug 17, 2024 · 1 comment
Open

machine_secrets.secrets.bootstrap_token missing #103

barti04 opened this issue Aug 17, 2024 · 1 comment

Comments

@barti04
Copy link

barti04 commented Aug 17, 2024

Hey,
I am new to Talos Linux. I want to get a test cluster running in Python, but the example throws this error:

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 am guessing I need to set a secret containing the bootstrap_token? I was looking for documentation for this in the provider docs but could not find any.

Any help appreciated

@UnstoppableMango
Copy link
Collaborator

Hey @barti04! I think this is related to an aspect of the terraform provider that didn't translate well into Pulumi's model. You can find more details about it in this issue. Unfortunately, that means the examples aren't up to date. I think what I've heard from Pulumi folks is that they might be looking for a solution on the Pulumi side.

In the meantime, instead of client_configuration=secrets.client_configuration you can assign each field on client_configuration individually. It's tedious, but it should get you back running.

If you're comfortable switching to typescript, those examples should work just fine. Due to the nature of the language, composite outputs flow like you would expect but its purely coincidental.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants