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

talos_machine_configuration_apply apply_mode="try" is not supported #233

Open
mulder999 opened this issue Jan 23, 2025 · 2 comments
Open

Comments

@mulder999
Copy link

According to talosctl apply-config and talosctl patch, the following apply mode are possible: -m, --mode auto, interactive, no-reboot, reboot, staged, try apply config mode (default auto)

However the terraform resource talos_machine_configuration_apply does not support try (not supporting interactive is indeed normal):
Attribute apply_mode value must be one of: ["auto" "reboot" "no_reboot" "staged"], got: "try"

@frezbo
Copy link
Member

frezbo commented Jan 23, 2025

This is intentional, try mode doesn't seem to offer any value with TF, the machine never has the expected machine config, but the old one and TF will say it's synced

@mulder999
Copy link
Author

This mode is not intended for long-term use, but it can be helpful when testing potentially critical changes. You might switch to this mode temporarily to try out the changes, and once you confirm they are working as expected, you can apply them again in the default auto mode.

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