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
Currently you need to create a azurerm_image (Supports data disks, but azurerm_image is legacy) and create a azurerm_shared_image_version from azurerm_image if you want a data disk included in your shared_image_version.
Is there an existing issue for this?
Community Note
Description
Add a single or multiple data disks to azurerm_shared_image_version from managed_disks and/or snapshots.
Ref:
https://learn.microsoft.com/en-us/cli/azure/sig/image-version?view=azure-cli-latest#az-sig-image-version-create
Example from Microsoft:
Add a new image version from a managed disk and add additional data disks
Currently you need to create a azurerm_image (Supports data disks, but azurerm_image is legacy) and create a azurerm_shared_image_version from azurerm_image if you want a data disk included in your shared_image_version.
New or Affected Resource(s)/Data Source(s)
azurerm_shared_image_version
Potential Terraform Configuration
References
https://learn.microsoft.com/en-us/cli/azure/sig/image-version?view=azure-cli-latest#az-sig-image-version-create
The text was updated successfully, but these errors were encountered: