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
10 changes: 5 additions & 5 deletions terraform/notejam-tf/resource-vnet-hub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ resource "azurerm_virtual_network" "hub_vnet" {
#dns_servers = ["10.0.0.4", "10.0.0.5"]
#depends_on = [azurerm_network_ddos_protection_plan.notejamprotect]

//Working code but commended due to cost
/*ddos_protection_plan {
id = azurerm_network_ddos_protection_plan.notejamprotect.id
enable = true
}*/
#Working code but commended due to cost
#ddos_protection_plan {
# id = azurerm_network_ddos_protection_plan.notejamprotect.id
# enable = true
#}

subnet {
name = "hub_subnet_fwall"
Expand Down
18 changes: 9 additions & 9 deletions terraform/notejam-tf/resource-vnet-spoke.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ resource "azurerm_virtual_network" "app_vnet" {
resource_group_name = data.azurerm_resource_group.app_rg.name
address_space = ["10.0.0.0/22"]
#dns_servers = ["10.0.0.4", "10.0.0.5"]
# depends_on = [azurerm_network_ddos_protection_plan.notejamprotect]

//Working code but commended due to cost
/*
ddos_protection_plan {
id = azurerm_network_ddos_protection_plan.notejamprotect.id
enable = true
}
*/
#depends_on = [azurerm_network_ddos_protection_plan.notejamprotect]

#Working code but commended due to cost

#ddos_protection_plan {
# id = azurerm_network_ddos_protection_plan.notejamprotect.id
# enable = true
#}


subnet {
name = "ingress_subnet"
Expand Down