Skip to content

Commit

Permalink
Merge pull request #18 from gkor75/fixing_source_dest_check
Browse files Browse the repository at this point in the history
Fixing source dest check
  • Loading branch information
RavinderReddyF5 authored Jul 2, 2022
2 parents 48a5fc4 + 6ed1492 commit 3e0fb8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand All @@ -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)
Expand Down

0 comments on commit 3e0fb8a

Please sign in to comment.