{"id":19739753,"url":"https://github.com/philipsahli/terraform-module-virtualbox-cloudinit","last_synced_at":"2025-07-02T08:36:25.620Z","repository":{"id":142303276,"uuid":"217448930","full_name":"philipsahli/terraform-module-virtualbox-cloudinit","owner":"philipsahli","description":"A Terraform module to create virtual machines and cloudinit based configuration (AWS EC2 style)","archived":false,"fork":false,"pushed_at":"2019-10-26T06:31:16.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-10T19:46:11.610Z","etag":null,"topics":["cloudinit","terraform-module","virtualbox"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philipsahli.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-25T04:11:51.000Z","updated_at":"2019-10-29T22:42:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"2478592e-0657-4bb9-9880-7ffc0dac9352","html_url":"https://github.com/philipsahli/terraform-module-virtualbox-cloudinit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipsahli%2Fterraform-module-virtualbox-cloudinit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipsahli%2Fterraform-module-virtualbox-cloudinit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipsahli%2Fterraform-module-virtualbox-cloudinit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philipsahli%2Fterraform-module-virtualbox-cloudinit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philipsahli","download_url":"https://codeload.github.com/philipsahli/terraform-module-virtualbox-cloudinit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241068269,"owners_count":19903998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudinit","terraform-module","virtualbox"],"created_at":"2024-11-12T01:18:16.821Z","updated_at":"2025-02-27T22:28:12.515Z","avatar_url":"https://github.com/philipsahli.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# terraform-module-virtualbox-cloudinit\n\n\u003e A Terraform module to create virtual machines and cloudinit based configuration (AWS EC2 style).\n\n## Table of contents\n* [General info](#general-info)\n* [Technologies](#technologies)\n* [Setup](#setup)\n* [Features](#features)\n* [Status](#status)\n* [Usage](#usage)\n* [Contact](#contact)\n\n## General info\n\nThis project has been created to launch servers on Virtualbox in an AWS EC2 style.\n\n## Technologies\nProject uses:\n* Terraform version: \u003e= 0.12\n* Virtualbox\n\n## Features\n\n* Virtual machines creation\n* Disk image VDI format\n* Cloudinit OS configuration\n* Forwards port 222? to machines\n\n## Status\n\nProject is: _in progress_\n\n## Usage\n\nSee also [examples](examples/) folder.\n\n### Module\n\nUse the module in your TF root project\n\n    # amzn2.tf:\n\n    module \"amzn2\" {\n        source = \"github.com/philipsahli/terraform-module-virtualbox-cloudinit\"\n\n        vm_name  = var.vm_name\n        vm_count = var.vm_count\n        vdi      = var.vdi\n        userdata = var.userdata\n    }\n\nDefine variables for your setup.\n\n    # terraform.tfvars:\n\n    vm_name = \"node\"\n    vm_count = 2\n    vdi = \"https://cdn.amazonlinux.com/os-images/2.0.20190823.1/virtualbox/amzn2-virtualbox-2.0.20190823.1-x86_64.xfs.gpt.vdi\"\n\n    userdata = \u003c\u003cEOF\n    #cloud-config\n    #vim:syntax=yaml\n    users:\n    # A user by the name `ec2-user` is created in the image by default.\n    - default\n    chpasswd:\n    list: |\n        ec2-user:plain_text_password\n    # In the above line, do not add any spaces after 'ec2-user:'.\n    ssh_authorized_keys:\n    - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDEkNFRkip9a16pc+nwWTUiMcSxePRCNw1PrylLMpnyKo5pT/ user@station\n    EOF\n\n\n### Input Variables\n\n| Variable |      Type     |  Example | Default|\n|----------|:-------------:|----------|-------:|\n| vm_name  |    string     |  node    |   -    |\n| vm_count |    int        |  2       |   1    |\n| userdata |    string     |#cloud-config \u003cbr\u003e #vim:syntax=yaml \u003cbr\u003eusers: \u003cbr\u003e- default|   -    |\n\n### Output Variable\n\nAt the moment the module does not output any variable.\n\n## Contact\n\nCreated by [@philipsahli](https://github.com/philipsahli) - feel free to contact me!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipsahli%2Fterraform-module-virtualbox-cloudinit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilipsahli%2Fterraform-module-virtualbox-cloudinit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilipsahli%2Fterraform-module-virtualbox-cloudinit/lists"}