https://github.com/pythoninthegrass/tf_multipass
Combine terraform w/multipass
https://github.com/pythoninthegrass/tf_multipass
multipass terraform ubuntu
Last synced: 11 months ago
JSON representation
Combine terraform w/multipass
- Host: GitHub
- URL: https://github.com/pythoninthegrass/tf_multipass
- Owner: pythoninthegrass
- Created: 2023-12-09T16:02:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T22:23:46.000Z (over 1 year ago)
- Last Synced: 2025-01-11T16:50:20.933Z (about 1 year ago)
- Topics: multipass, terraform, ubuntu
- Language: HCL
- Homepage:
- Size: 178 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# tf_multipass
[Terraform](https://www.terraform.io/) + [Multipass](https://multipass.run/) = :heart:
## Quickstart
```bash
terraform init
terraform fmt # optional
terraform validate
terraform plan -out tfplan
terraform apply tfplan
```
## Terraform Module Structure
| File/Folder | Description |
|-----------------------------|--------------------------------------------------------------|
| main.tf | Main calling module |
| multipass_module/ | Main module folder |
| multipass_module/main.tf | Main Terraform module |
| multipass_module/provider.tf| Link to the provider in the main root folder |
| multipass_module/vars.tf | Variables passed to the main Multipass module |
| provider.tf | Main provider for Multipass version 1.4.2 |
| cloud-init.yml | Bootstrap installation of packages, SSH keys, and VM upgrade |
| variables.tf | Variables used by the module and default settings |
| outputs.tf | Output variables from the module |
## Development
* Auto changelog via conventional commits: [Commitizen](https://github.com/commitizen/cz-cli)
```bash
# install commitizen
npm install -g commitizen
# make repo commitizen friendly (i.e., add to package.json)
commitizen init cz-conventional-changelog --save-dev --save-exact
# commit changes
git add .
# use commitizen to commit changes
git cz
```
## Further Reading
[larstobi/terraform-provider-multipass](https://github.com/larstobi/terraform-provider-multipass)
[Terraform Provider for Multipass Hypervisor](https://registry.terraform.io/providers/larstobi/multipass/1.4.2)
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
[googleapis/release-please: generate release PRs based on the conventionalcommits.org spec](https://github.com/googleapis/release-please)