Replies: 3 comments 1 reply
|
Lima is currently using cloud-init and bash scripts, to do the provisioning. It is unclear where terraform (opentofu?) would be used, and what Lima would have to do? Presumably someone would write a provider, and it would call |
|
If you want to configure stuff with terraform on the mac to run VMs, you might want to use tart or qemu directly: With the new apple virtualization framework, one could even code the machines directly.. a new terraform provider might be able to wrap that.. (See: https://developer.apple.com/videos/play/wwdc2022/10002/) |
|
I’ve recently published a Terraform/OpenTofu provider for Lima: https://github.com/guidoiaquinti/terraform-provider-lima It manages local Lima virtual machines declaratively by wrapping The provider is still very new and pre-1.0, so the schema may evolve. That said, I’ve been successfully using it in another personal project for the past few weeks without encountering issues. Feedback, bug reports, and contributions are very welcome. |
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I'm thinking about using terraform to automate the creation of VMs/Containers through lima on macOS. I was wondering whether anyone was aware of an existing provider that works with lima, or the best way to use them together to customise the image before it's spun up by lima.
All reactions