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"azurerm_virtual_machine_data_disk_attachment" {
source="./modules/azurerm/r/azurerm_virtual_machine_data_disk_attachment"# caching - (required) is a type of stringcaching=null# create_option - (optional) is a type of stringcreate_option=null# lun - (required) is a type of numberlun=null# managed_disk_id - (required) is a type of stringmanaged_disk_id=null# virtual_machine_id - (required) is a type of stringvirtual_machine_id=null# write_accelerator_enabled - (optional) is a type of boolwrite_accelerator_enabled=nulltimeouts=[{
create =null
delete =null
read =null
update =null
}]
}
resource"azurerm_virtual_machine_data_disk_attachment""this" {
# caching - (required) is a type of stringcaching=var.caching# create_option - (optional) is a type of stringcreate_option=var.create_option# lun - (required) is a type of numberlun=var.lun# managed_disk_id - (required) is a type of stringmanaged_disk_id=var.managed_disk_id# virtual_machine_id - (required) is a type of stringvirtual_machine_id=var.virtual_machine_id# write_accelerator_enabled - (optional) is a type of boolwrite_accelerator_enabled=var.write_accelerator_enableddynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
# update - (optional) is a type of stringupdate=timeouts.value["update"]
}
}
}