Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,14 @@ Type: `string`

The following input variables are optional (have default values):

### <a name="input_accelerated_networking_enabled"></a> [accelerated\_networking\_enabled](#input\_accelerated\_networking\_enabled)

Description: Enable accelerated networking on the network interface created by this module. Only applies when create\_network\_interface is true.

Type: `bool`

Default: `false`

### <a name="input_additional_capabilities"></a> [additional\_capabilities](#input\_additional\_capabilities)

Description: Enable additional capabilities.
Expand Down Expand Up @@ -603,6 +611,14 @@ object({

Default: `null`

### <a name="input_ip_forwarding_enabled"></a> [ip\_forwarding\_enabled](#input\_ip\_forwarding\_enabled)

Description: Enable ip forwarding on the network interface created by this module. Only applies when create\_network\_interface is true.

Type: `bool`

Default: `false`

### <a name="input_key_vault_id"></a> [key\_vault\_id](#input\_key\_vault\_id)

Description: The resource ID of the Azure Key Vault where the generated admin password or SSH private key should be stored as a secret.
Expand Down
3 changes: 3 additions & 0 deletions r-network.tf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ resource "azurerm_network_interface" "this" {

dns_servers = var.dns_servers

accelerated_networking_enabled = var.accelerated_networking_enabled
ip_forwarding_enabled = var.ip_forwarding_enabled

ip_configuration {
name = "ipconfig1"
private_ip_address = var.private_ip_address
Expand Down
12 changes: 12 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ locals {
windows_license_types = ["None", "Windows_Client", "Windows_Server"]
}

variable "accelerated_networking_enabled" {
description = "Enable accelerated networking on the network interface created by this module. Only applies when create_network_interface is true."
type = bool
default = false
}

variable "additional_capabilities" {
description = <<-EOT
Enable additional capabilities.
Expand Down Expand Up @@ -444,6 +450,12 @@ variable "image" {
}
}

variable "ip_forwarding_enabled" {
description = "Enable ip forwarding on the network interface created by this module. Only applies when create_network_interface is true."
type = bool
default = false
}

variable "key_vault_id" {
description = <<-EOT
The resource ID of the Azure Key Vault where the generated admin password or SSH private key should be stored as a secret.
Expand Down
Loading