Files
terraform-modules/lawndale-vm/README.md
Tamas Kiss e6ae06dbbe
Some checks failed
continuous-integration/drone/push Build is failing
fix: lawndale-vm module ref
2022-05-26 23:35:21 +02:00

4.3 KiB

Requirements

The following requirements are needed by this module:

Providers

The following providers are used by this module:

Modules

The following Modules are called:

ipam

Source: git@git.thomasklein.me:thomasklein/terraform-modules//lawndale-vm-ipam

Version:

Resources

The following resources are used by this module:

Required Inputs

The following input variables are required:

base_image_pool

Description: Base image storage pool

Type: string

base_image_volume

Description: Base image storage pool

Type: string

description

Description: (Short) Description for the virtual machine

Type: string

id

Description: The lawndale id of the virtual machine

Type: number

interface

Description: Network interface to attach the vm on

Type: string

memory_mb

Description: VM memory allocation in megabytes

Type: number

name

Description: The name of the virtual machine (must be a [-_a-z0-9])

Type: string

root_storage_volume_size_gb

Description: The size of the storage volume (in gigabytes)

Type: number

user_data

Description: Cloud-init userdata script to run

Type: string

Optional Inputs

The following input variables are optional (have default values):

autostart

Description: Start the VM at host start?

Type: bool

Default: true

create_root_storage_pool

Description: Create the storage pool as part of the module

Type: bool

Default: true

filesystems

Description: 9p shared filesystem devices

Type:

list(object({
    source     = string
    target     = string
    accessmode = string
    readonly   = bool
  }))

Default: []

meta_data

Description: Cloud-init meta-data

Type: string

Default: null

network_config

Description: Cloud-init network config

Type: string

Default: null

root_storage_pool

Description: The name of the storage pool. It will default to the VM name

Type: string

Default: ""

root_storage_volume_name

Description: the name of the storage volume (must be unique in the pool)

Type: string

Default: ""

vcpu

Description: CPU count

Type: number

Default: 1

xslt

Description: XSLT applied to the domain before sent to libvirt

Type: string

Default: null

Outputs

No outputs.