Skip to content

Commit

Permalink
Update to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jvhoof committed Jun 17, 2024
1 parent ad85a29 commit b0ccb71
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 62 deletions.
77 changes: 29 additions & 48 deletions Azure/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 10 additions & 10 deletions Azure/fortigate.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ resource "azurerm_public_ip" "fgtpip" {
}

resource "azurerm_network_interface" "fgtifcext" {
name = "${var.PREFIX}-FGT-VM-IFC-EXT"
location = azurerm_resource_group.resourcegroup.location
resource_group_name = azurerm_resource_group.resourcegroup.name
enable_ip_forwarding = true
enable_accelerated_networking = var.FGT_ACCELERATED_NETWORKING
name = "${var.PREFIX}-FGT-VM-IFC-EXT"
location = azurerm_resource_group.resourcegroup.location
resource_group_name = azurerm_resource_group.resourcegroup.name
ip_forwarding_enabled = true
accelerated_networking_enabled = var.FGT_ACCELERATED_NETWORKING

ip_configuration {
name = "interface1"
Expand All @@ -43,11 +43,11 @@ resource "azurerm_network_interface_security_group_association" "fgtifcmgmtnsg"


resource "azurerm_network_interface" "fgtifcint" {
name = "${var.PREFIX}-FGT-VM-IFC-INT"
location = azurerm_resource_group.resourcegroup.location
resource_group_name = azurerm_resource_group.resourcegroup.name
enable_ip_forwarding = true
enable_accelerated_networking = var.FGT_ACCELERATED_NETWORKING
name = "${var.PREFIX}-FGT-VM-IFC-INT"
location = azurerm_resource_group.resourcegroup.location
resource_group_name = azurerm_resource_group.resourcegroup.name
ip_forwarding_enabled = true
accelerated_networking_enabled = var.FGT_ACCELERATED_NETWORKING

ip_configuration {
name = "interface1"
Expand Down
8 changes: 4 additions & 4 deletions Azure/server.tf
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
##############################################################################################################

resource "azurerm_network_interface" "lnxifc" {
name = "${var.PREFIX}-LNX-VM-ifc"
location = var.LOCATION
resource_group_name = azurerm_resource_group.resourcegroup.name
enable_ip_forwarding = false
name = "${var.PREFIX}-LNX-VM-ifc"
location = var.LOCATION
resource_group_name = azurerm_resource_group.resourcegroup.name
ip_forwarding_enabled = false

ip_configuration {
name = "interface1"
Expand Down

0 comments on commit b0ccb71

Please sign in to comment.