Azure / terraform-azurerm-virtual-machine

Terraform Azure RM Virtual Machine Module
MIT License
36 stars 36 forks source link

[Azure computer Gallery] How to use the image from shared Azure compute galleries #60

Closed ozbillwang closed 10 months ago

ozbillwang commented 10 months ago

Is there an existing issue for this?

Description

The variable oz_simple define several popular Images, but it is hard for use to adjust.

  1. For example, if I want to choice RHEL-9, or Windows 2022, what can I do to set a own-defined variable os_simple or standard_os

  2. that's the problem I met. We managed our own Shared image Gallery, how can we deploy with this module, but use our own built images?

New or Affected Resource(s)/Data Source(s)

all

Potential Terraform Configuration

How to use the image from shared Azure compute galleries

References

No response

ozbillwang commented 10 months ago

source_image_id is the way to reference shared image ID.