You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"vsphere_storage_drs_vm_override" {
source="./modules/vsphere/r/vsphere_storage_drs_vm_override"# datastore_cluster_id - (required) is a type of stringdatastore_cluster_id=null# sdrs_automation_level - (optional) is a type of stringsdrs_automation_level=null# sdrs_enabled - (optional) is a type of stringsdrs_enabled=null# sdrs_intra_vm_affinity - (optional) is a type of stringsdrs_intra_vm_affinity=null# virtual_machine_id - (required) is a type of stringvirtual_machine_id=null
}
variable"datastore_cluster_id" {
description="(required) - The managed object ID of the datastore cluster."type=string
}
variable"sdrs_automation_level" {
description="(optional) - Overrides any Storage DRS automation levels for this virtual machine."type=stringdefault=null
}
variable"sdrs_enabled" {
description="(optional) - Overrides the default Storage DRS setting for this virtual machine."type=stringdefault=null
}
variable"sdrs_intra_vm_affinity" {
description="(optional) - Overrides the intra-VM affinity setting for this virtual machine."type=stringdefault=null
}
variable"virtual_machine_id" {
description="(required) - The managed object ID of the virtual machine."type=string
}
resource"vsphere_storage_drs_vm_override""this" {
# datastore_cluster_id - (required) is a type of stringdatastore_cluster_id=var.datastore_cluster_id# sdrs_automation_level - (optional) is a type of stringsdrs_automation_level=var.sdrs_automation_level# sdrs_enabled - (optional) is a type of stringsdrs_enabled=var.sdrs_enabled# sdrs_intra_vm_affinity - (optional) is a type of stringsdrs_intra_vm_affinity=var.sdrs_intra_vm_affinity# virtual_machine_id - (required) is a type of stringvirtual_machine_id=var.virtual_machine_id
}