terraform harvester vm
v1.2.0

Terraform模块在Harvester HCI上创建虚拟机
| 姓名 | 来源 | 版本 |
|---|---|---|
| Harvester_vm | ./modules/harvester-vm | N/A。 |
| Harvester_vm_image | ./modules/harvester-vm-image | N/A。 |
| Harvester_vm_network | ./modules/harvester-vm-network | N/A。 |
| 姓名 | 描述 | 类型 | 默认 | 必需的 |
|---|---|---|---|---|
| cluster_network_name | 集群网络名称 | string | N/A。 | 是的 |
| Harvester_kubeconfig_path | 通往kubeconfig文件的路径 | string | N/A。 | 是的 |
| image_display_name | OS图像的显示名称 | string | N/A。 | 是的 |
| image_name | 操作系统的名称 | string | N/A。 | 是的 |
| image_source_type | 图像的源类型(例如,下载,上传) | string | N/A。 | 是的 |
| Image_url | URL从哪里下载图像 | string | N/A。 | 是的 |
| Network_name | 网络名称 | string | N/A。 | 是的 |
| network_vlan_id | 网络的VLAN ID | string | N/A。 | 是的 |
| USER_DATA | 用户数据云配置 | string | N/A。 | 是的 |
| vm_cpus | VM的CPU数量 | number | N/A。 | 是的 |
| vm_description | VM的描述 | string | N/A。 | 是的 |
| vm_disks | VM的磁盘列表 | list(object({ name = string # Name of the disk type = string # Type of the disk size = string # Size of the disk bus = string # Bus type of the disk boot_order = number # Boot order for the disk auto_delete = bool # Auto delete flag for the disk })) | N/A。 | 是的 |
| vm_hostname | 虚拟机的主机名 | string | N/A。 | 是的 |
| vm_memory | VM的内存分配 | string | N/A。 | 是的 |
| vm_name | 虚拟机的名称 | string | N/A。 | 是的 |
| image_namespace | 图像所在的名称空间 | string | "default" | 不 |
| image_tags | 与图像关联的标签 | map(string) | {} | 不 |
| Network_data | 网络数据云配置 | string | "" | 不 |
| Network_namespace | 网络名称空间 | string | "default" | 不 |
| vm_namespace | 命名空间VM将居住 | string | "default" | 不 |
| vm_tags | 与VM关联的标签 | map(string) | {} | 不 |
| 姓名 | 描述 |
|---|---|
| image_id | VM图像的ID |
| network_id | 网络的名称 |
| vm_id | 创建的虚拟机的ID |