Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave comments along the lines of "+1", "me too" or "any updates", they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment and review the contribution guide to help.
Description
The Azure API supports creation of a shared image version from the ID reference of a different shared image version. It would be helpful to allow this functionality within Terraform.
New or Affected Resource(s)/Data Source(s)
azurerm_shared_image_version
Potential Terraform Configuration
resource "azurerm_shared_image_version" "example" {
name = "0.0.1"
gallery_name = data.azurerm_shared_image.existing.gallery_name
image_name = data.azurerm_shared_image.existing.name
resource_group_name = data.azurerm_shared_image.existing.resource_group_name
location = data.azurerm_shared_image.existing.location
shared_image_version_id = data.azurerm_shared_image_version.source.id
target_region {
name = data.azurerm_shared_image.existing.location
regional_replica_count = 5
storage_account_type = "Standard_LRS"
}
}
Activity