Skip to content

Commit b1f535a

Browse files
committed
feat: add possibility to set accelerated_networking_enabled and ip_forwarding_enabled in the network interface
Signed-off-by: christianjedro <cj@cloudeteer.de>
1 parent 8b7a9d2 commit b1f535a

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

variables.tf

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ locals {
1313
windows_license_types = ["None", "Windows_Client", "Windows_Server"]
1414
}
1515

16+
variable "accelerated_networking_enabled" {
17+
description = "Enable accelerated networking on the network interface created by this module. Only applies when create_network_interface is true."
18+
type = bool
19+
default = false
20+
}
21+
1622
variable "additional_capabilities" {
1723
description = <<-EOT
1824
Enable additional capabilities.
@@ -188,18 +194,6 @@ variable "create_network_interface" {
188194
default = true
189195
}
190196

191-
variable "accelerated_networking_enabled" {
192-
description = "Enable accelerated networking on the network interface created by this module. Only applies when create_network_interface is true."
193-
type = bool
194-
default = false
195-
}
196-
197-
variable "ip_forwarding_enabled" {
198-
description = "Enable ip forwarding on the network interface created by this module. Only applies when create_network_interface is true."
199-
type = bool
200-
default = false
201-
}
202-
203197
variable "create_public_ip_address" {
204198
description = "If set to `true` a Azure public IP address will be created and assigned to the default network interface."
205199
default = false
@@ -456,6 +450,12 @@ variable "image" {
456450
}
457451
}
458452

453+
variable "ip_forwarding_enabled" {
454+
description = "Enable ip forwarding on the network interface created by this module. Only applies when create_network_interface is true."
455+
type = bool
456+
default = false
457+
}
458+
459459
variable "key_vault_id" {
460460
description = <<-EOT
461461
The resource ID of the Azure Key Vault where the generated admin password or SSH private key should be stored as a secret.

0 commit comments

Comments
 (0)