diff --git a/dcf/main.tf b/dcf/main.tf index 09ed8d6..101eb86 100644 --- a/dcf/main.tf +++ b/dcf/main.tf @@ -51,6 +51,23 @@ resource "aviatrix_distributed_firewalling_policy_list" "default" { aviatrix_web_group.allow_internet_https.uuid ] } + policies { + name = "allow-rfc1918" + action = "PERMIT" + priority = 1002 + protocol = "TCP" + logging = true + watch = false + port_ranges { + lo = 80 + } + src_smart_groups = [ + aviatrix_smart_group.rfc1918.uuid + ] + dst_smart_groups = [ + aviatrix_smart_group.rfc1918.uuid + ] + } policies { name = "default-deny-all" action = "DENY" diff --git a/dcf/versions.tf b/dcf/versions.tf index e5f7c07..be19145 100755 --- a/dcf/versions.tf +++ b/dcf/versions.tf @@ -1,7 +1,7 @@ terraform { backend "remote" { hostname = "app.terraform.io" - # organization = "" + organization = "aziz-aviatrix-lab" workspaces { name = "ace-automation-dcf" } diff --git a/lab1/main.tf b/lab1/main.tf index 1948b71..2598376 100644 --- a/lab1/main.tf +++ b/lab1/main.tf @@ -11,7 +11,7 @@ module "us_east_1_spoke" { account = var.account_name_aws ha_gw = false attached = false - single_ip_snat = false + single_ip_snat = true } module "us_west_2_spoke" { @@ -27,5 +27,5 @@ module "us_west_2_spoke" { account = var.account_name_aws ha_gw = false attached = false - single_ip_snat = false + single_ip_snat = true } diff --git a/lab1/versions.tf b/lab1/versions.tf index 1904008..5a4eb58 100755 --- a/lab1/versions.tf +++ b/lab1/versions.tf @@ -1,7 +1,7 @@ terraform { backend "remote" { hostname = "app.terraform.io" - # organization = "" + organization = "aziz-aviatrix-lab" workspaces { name = "ace-automation-lab1" } diff --git a/lab3/main.tf b/lab3/main.tf index f652017..0228ea9 100644 --- a/lab3/main.tf +++ b/lab3/main.tf @@ -1,9 +1,10 @@ data "terraform_remote_state" "lab1" { backend = "remote" config = { - # organization = "" + organization = "aziz-aviatrix-lab" workspaces = { name = "ace-automation-lab1" + #random comment } } } diff --git a/lab3/versions.tf b/lab3/versions.tf index 4a0d9c0..ef9ea82 100755 --- a/lab3/versions.tf +++ b/lab3/versions.tf @@ -1,7 +1,7 @@ terraform { backend "remote" { hostname = "app.terraform.io" - # organization = "" + organization = "aziz-aviatrix-lab" workspaces { name = "ace-automation-lab3" }