Skip to content

InsideCommunity/azurerm_vm_data_disk_attachment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azurerm_vm_data_disk_attachment

Attach A Managed Disk and A Virtual Machine on Azure using a dedicated Terraform module.

Requirements

  • A Virtual Machine (ID)
  • A Managed Disk (ID)

Providers

Name Version
azurerm n/a

Modules

No modules.

Resources

Name Type
azurerm_virtual_machine_data_disk_attachment.az_vm_disk_attachment resource

Inputs

Name Description Type Default Required
caching Specifies the caching requirements for this Data Disk. Possible values include None, ReadOnly and ReadWrite. string "ReadWrite" no
create_option The Create Option of the Data Disk, such as Empty or Attach. Defaults to Attach. string null no
lun The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. string null no
managed_disk_id The ID of an existing Managed Disk which should be attached. string null no
virtual_machine_id The ID of the Virtual Machine to which the Data Disk should be attached. string null no
write_accelerator_enabled Specifies if Write Accelerator is enabled on the disk. This can only be enabled on Premium_LRS managed disks with no caching and M-Series VMs. Defaults to false. bool false no

Outputs

No outputs.

Releases

No releases published

Packages

No packages published

Languages