|
1 | 1 | locals { |
2 | | - windows_license_types = ["None", "Windows_Client", "Windows_Server"] |
3 | | - linux_license_types = [ |
4 | | - "RHEL_BYOS", "RHEL_BASE", "RHEL_EUS", "RHEL_SAPAPPS", "RHEL_SAPHA", "RHEL_BASESAPAPPS", "RHEL_BASESAPHA", |
5 | | - "SLES_BYOS", "SLES_SAP", "SLES_HPC" |
6 | | - ] |
7 | | - |
8 | 2 | identity_type = ( |
9 | 3 | var.entra_id_login.enabled ? ( |
10 | 4 | strcontains(try(var.identity.type, ""), "UserAssigned") ? |
11 | 5 | replace(var.identity.type, var.identity.type, "SystemAssigned, UserAssigned") : |
12 | 6 | "SystemAssigned" |
13 | 7 | ) : |
14 | 8 | try(var.identity.type, null)) |
| 9 | + linux_license_types = [ |
| 10 | + "RHEL_BYOS", "RHEL_BASE", "RHEL_EUS", "RHEL_SAPAPPS", "RHEL_SAPHA", "RHEL_BASESAPAPPS", "RHEL_BASESAPHA", |
| 11 | + "SLES_BYOS", "SLES_SAP", "SLES_HPC" |
| 12 | + ] |
| 13 | + windows_license_types = ["None", "Windows_Client", "Windows_Server"] |
15 | 14 | } |
16 | 15 |
|
17 | 16 | variable "additional_capabilities" { |
@@ -237,6 +236,13 @@ variable "data_disks" { |
237 | 236 | default = [] |
238 | 237 | } |
239 | 238 |
|
| 239 | +variable "dns_servers" { |
| 240 | + description = "A list of DNS server IP addresses to assign to the primary network interface of the virtual machine. These servers will override the default DNS settings provided by the subnet or virtual network." |
| 241 | + |
| 242 | + type = list(string) |
| 243 | + default = [] |
| 244 | +} |
| 245 | + |
240 | 246 | variable "domain_join" { |
241 | 247 | description = <<-EOT |
242 | 248 | Enable domain join for the virtual machine. This feature is not supported on Linux Virtual Machines. |
|
0 commit comments