Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Jun 1, 2021
1 parent 743aeb6 commit 511ba31
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions peer/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ module "nacl_rule_self" {
network_acl_id = local.self_network_acl_ids[0]

rule_description = local.self_label
cidr_blocks = [local.peer_cidr_block]
rule_definitions = {}
named_cidr_blocks = ["vpc"]
# merge_cidr_blocks = { "vpc" = local.peer_cidr_block }
rules = ["all_inbound", "all_outbound"]
rule_number = var.rule_number
rule_increment = var.rule_increment
merge_cidr_blocks = { "vpc" = local.peer_cidr_block }
rules = ["all_inbound", "all_outbound"]
rule_number = var.rule_number
rule_increment = var.rule_increment
tags = merge(
var.tags,
local.base_tags,
Expand All @@ -180,15 +180,14 @@ module "nacl_rule_peer" {
network_acl_id = local.peer_network_acl_ids[0]

rule_description = local.peer_label
cidr_blocks = [local.self_cidr_block]
rule_definitions = {}
named_cidr_blocks = ["vpc"]
# merge_cidr_blocks = { "vpc" = local.self_cidr_block }
rules = ["all_inbound", "all_outbound"]
rule_number = var.peer_rule_number
rule_increment = var.peer_rule_increment
merge_cidr_blocks = { "vpc" = local.self_cidr_block }
rules = ["all_inbound", "all_outbound"]
rule_number = var.peer_rule_number
rule_increment = var.peer_rule_increment
tags = merge(
var.tags,
local.base_tags,
)
}

0 comments on commit 511ba31

Please sign in to comment.