Skip to content

mholasek/terraform-provider-multipass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Multipass Provider

Install

Tools

  • go
  • GNU Make
  • git

Run

git clone https://github.com/mholasek/terraform-provider-multipass.git
cd terraform-provider-multipass
make
mkdir -p ~/.terraform.d/plugins/nobody.io/nobody/multipass/1.0.0/`go env GOOS`_`go env GOARCH`
cp bin/* ~/.terraform.d/plugins/nobody.io/nobody/multipass/1.0.0/`go env GOOS`_`go env GOARCH`

Example Usage

versions.tf

terraform {
  required_providers {
    multipass = {
      source = "nobody.io/nobody/multipass"
      # https://www.terraform.io/docs/configuration/providers.html#provider-source
    }
  }
  required_version = ">= 0.13"
}

main.tf

resource "multipass_vm" "vm01" {
  name = "vm01"
  cloud_init = "multipass/files/cloud-init.yaml"
  cpus = "1"
  memory_size = "1G"
  disk_size = "10G"
  image = "18.04"
  }

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 93.7%
  • Makefile 4.0%
  • HCL 2.3%