Skip to content

Updated terraform section with the latest provider.#531

Merged
tormath1 merged 4 commits intoflatcar:mainfrom
atarutin:flatcar-docs-update
Feb 23, 2026
Merged

Updated terraform section with the latest provider.#531
tormath1 merged 4 commits intoflatcar:mainfrom
atarutin:flatcar-docs-update

Conversation

@atarutin
Copy link
Contributor

@atarutin atarutin commented Feb 17, 2026

Updated Terraform section with the latest provider.

This updates the section with an example of a simple Libvirt VM automation using the latest version of the Terraform provider.

How to use

Check the text and the example. The example should be executable with minimal setup ("default" network and "default" pool).

Testing done

This is documentation only changes.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Closes: flatcar/Flatcar#1996

@atarutin atarutin requested a review from a team as a code owner February 17, 2026 20:43
Copy link
Collaborator

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, that's great to see that. I added two suggestions, feel free to force push them in the same commit.

Might I ask you to signoff your commit as well? As part of a CNCF project, all commits must be signed-off.

@atarutin
Copy link
Contributor Author

atarutin commented Feb 18, 2026

Thanks a lot, that's great to see that. I added two suggestions, feel free to force push them in the same commit.

Might I ask you to signoff your commit as well? As part of a CNCF project, all commits must be signed-off.

Done signoff. DCO is ✔️ !

@atarutin atarutin force-pushed the flatcar-docs-update branch from 6942a71 to 308c00d Compare February 18, 2026 22:28
@tormath1
Copy link
Collaborator

@atarutin thanks for signing off the commits. That looks good now. One last thing, following this suggestion: #531 (comment) - can you update the Terraform snippet to move the variables outside the resource block (and remove the 3 dots ...) ? https://github.com/atarutin/flatcar-website/blob/308c00d3b87c16efcfac3a11fba637f5eba016c6/content/docs/latest/installing/vms/libvirt.md?plain=1#L275-L298
Because now the snippet is now usable. :)

@atarutin
Copy link
Contributor Author

@atarutin thanks for signing off the commits. That looks good now. One last thing, following this suggestion: #531 (comment) - can you update the Terraform snippet to move the variables outside the resource block (and remove the 3 dots ...) ? https://github.com/atarutin/flatcar-website/blob/308c00d3b87c16efcfac3a11fba637f5eba016c6/content/docs/latest/installing/vms/libvirt.md?plain=1#L275-L298 Because now the snippet is now usable. :)

can do. though it's going to have to wait until later or maybe even until tomorrow.

atarutin and others added 4 commits February 20, 2026 12:54
Signed-off-by: Aleksandr Tarutin <atarutin@orionsbelt.net>
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
Signed-off-by: Aleksandr Tarutin <atarutin@orionsbelt.net>
Co-authored-by: Mathieu Tortuyaux <mathieu.tortuyaux@gmail.com>
Signed-off-by: Aleksandr Tarutin <atarutin@orionsbelt.net>
Signed-off-by: Aleksandr Tarutin <atarutin@orionsbelt.net>
@atarutin atarutin force-pushed the flatcar-docs-update branch from 64714d5 to f563684 Compare February 20, 2026 17:55
@atarutin
Copy link
Contributor Author

I replaced the whole example. it should have everything now.

Copy link
Collaborator

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this great contribution!

@tormath1 tormath1 merged commit 73f7eb3 into flatcar:main Feb 23, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

Documentation and Opentofu examples are outdated for Libvirt provider

2 participants