From 61105e536c014353cd8fbf7c0f9ee646ede9a0cb Mon Sep 17 00:00:00 2001 From: Grzegorz Kornacki Date: Mon, 27 Jun 2022 17:27:04 +0200 Subject: [PATCH] fixing var.external_source_dest_check references --- main.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.tf b/main.tf index b464180..e618732 100644 --- a/main.tf +++ b/main.tf @@ -126,6 +126,7 @@ resource "aws_network_interface" "external_private" { subnet_id = local.external_private_subnet_id[count.index] security_groups = var.external_securitygroup_ids private_ips = [local.external_private_ip_primary[count.index], local.external_private_ip_secondary[count.index]] + source_dest_check = var.external_source_dest_check tags = merge(local.tags, { Name = format("%s-%d", "BIGIP-External-Private-Interface", count.index) } @@ -138,6 +139,7 @@ resource "aws_network_interface" "external_private1" { count = length(compact(local.external_private_ip_primary)) > 0 ? 0 : length(local.external_private_ip_primary) subnet_id = local.external_private_subnet_id[count.index] security_groups = var.external_securitygroup_ids + source_dest_check = var.external_source_dest_check private_ips_count = 1 tags = merge(local.tags, { Name = format("%s-%d", "BIGIP-External-Private-Interface", count.index)