Skip to content

kalenarndt/terraform-vsphere-clone-cloudinit

Repository files navigation

terraform-vsphere-vsphere-clone-cloudinit

Requirements

Name Version
vsphere >=1.26.0

Providers

Name Version
cloudinit 2.2.0
vsphere 2.0.2

Modules

No modules.

Resources

Name Type
vsphere_virtual_machine.deployed-vm resource
cloudinit_config.user_data data source
vsphere_compute_cluster.compute_cluster data source
vsphere_datacenter.dc data source
vsphere_datastore.datastore data source
vsphere_network.deployment_network data source
vsphere_tag.deployment_tag data source
vsphere_tag_category.tag_category data source
vsphere_virtual_machine.deployment_template data source

Inputs

Name Description Type Default Required
cluster variable for the vsphere cluster that the VMs will be placed in string n/a yes
datacenter variable for the datacenter where the VMs will be deployed string n/a yes
datastore variable for the datastore that the VMs will be placed on string n/a yes
deployment_vm_data (Required) Map containing the configuration for the virtual machines
map(object({
name = string
num_cpus = number
memory = number
disk_size = number
user_data = string
metadata = string
tag_category = optional(string)
tag_name = optional(string)
}))
n/a yes
folder_path (Optional) variable for the folder path that will be used when deploying workloads string "" no
tags (Optional) Conditional that allows for the setting of tags on a VM bool false no
template_name variable for the template name that VMs will be cloned from string n/a yes
thin_provision (Optional) Determines if the VM that will be created will be thin or thick provisioned bool true no
vm_network (Required) Target network where the VMs will be deployed string n/a yes
vm_prefix (Optional) Prefix that will be prepended to the VMs that you deploy string "" no

Outputs

No outputs.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages