Terraform module which manages media file ressources on already existing VMs on VMWare Cloud Director.
Create this resource for inserting the media, and destroy it for ejecting.
Name | Version |
---|---|
terraform | >= 1.1.9 |
vcd | >= 3.9.0 |
Name | Version |
---|---|
vcd | 3.9.0 |
No modules.
Name | Type |
---|---|
vcd_inserted_media.inserted_media | resource |
vcd_catalog.catalog | data source |
vcd_vapp.vapp | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
catalog_name | The name of the catalog where to find the media file. | string |
n/a | yes |
name | Media file name in catalog which will be inserted to VM. | string |
n/a | yes |
vapp_name | The name of vApp to find. | string |
n/a | yes |
vdc_org_name | The name of the organization to use. | string |
n/a | yes |
vm_name | The name of VM to be used to insert media file. | string |
n/a | yes |
eject_force | Allows to pass answer to question in vCD 'The guest operating system has locked the CD-ROM door and is probably using the CD-ROM. Disconnect anyway (and override the lock)?' when ejecting from a VM which is powered on. | bool |
true |
no |
vdc_name | The name of VDC to use. | string |
null |
no |
Name | Description |
---|---|
id | The ID of the Inserted Media file. |
module "boot_disk" {
source = "git::https://github.com/noris-network/terraform-vcd-inserted-media?ref=1.0.0"
name = "debian12.iso"
vdc_org_name = "myORG"
vdc_name = "myDC01"
vm_name = "web01.example.net"
vapp_name = "webserver"
catalog_name = "myCatalog"
}