diff --git a/wrappers/main.tf b/wrappers/main.tf index 249248e..da23c5a 100644 --- a/wrappers/main.tf +++ b/wrappers/main.tf @@ -32,9 +32,9 @@ module "wrapper" { security_group_egress_rules = try(each.value.security_group_egress_rules, var.defaults.security_group_egress_rules, {}) security_group_ingress_rules = try(each.value.security_group_ingress_rules, var.defaults.security_group_ingress_rules, {}) security_group_name = try(each.value.security_group_name, var.defaults.security_group_name, null) - security_groups = try(each.value.security_groups, var.defaults.security_groups, []) security_group_tags = try(each.value.security_group_tags, var.defaults.security_group_tags, {}) security_group_use_name_prefix = try(each.value.security_group_use_name_prefix, var.defaults.security_group_use_name_prefix, true) + security_groups = try(each.value.security_groups, var.defaults.security_groups, []) subnet_mapping = try(each.value.subnet_mapping, var.defaults.subnet_mapping, []) subnets = try(each.value.subnets, var.defaults.subnets, []) tags = try(each.value.tags, var.defaults.tags, {})