diff options
author | pmikus <pmikus@cisco.com> | 2021-10-18 12:44:59 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2021-10-20 14:53:46 +0000 |
commit | aff4d46c7ad0f54c4be632d498bf88a75d22e70e (patch) | |
tree | 974d30919e997f58a962152cda937bb751a775c4 /fdio.infra.terraform/3n_aws_c5n/deploy | |
parent | 2f734f4ca633bd875066891caf39a28537321460 (diff) |
fix(Terraform): Change AWS AZ
Signed-off-by: pmikus <pmikus@cisco.com>
Change-Id: I19c160e40e01bd7f69c08188f61d2bcbc3fd4bcb
(cherry picked from commit 8be983ad917cd47fa8da4256fa8ada14ecfcd425)
Diffstat (limited to 'fdio.infra.terraform/3n_aws_c5n/deploy')
-rw-r--r-- | fdio.infra.terraform/3n_aws_c5n/deploy/main.tf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf index 917dd97232..dd994cce0c 100644 --- a/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf +++ b/fdio.infra.terraform/3n_aws_c5n/deploy/main.tf @@ -223,15 +223,15 @@ resource "aws_network_interface" "dut2_if1" { aws_subnet.c, aws_instance.dut2 ] - private_ip = var.dut2_if2_ip - private_ips = [var.dut2_if2_ip] + private_ip = var.dut2_if1_ip + private_ips = [var.dut2_if1_ip] security_groups = [aws_security_group.CSITSG.id] source_dest_check = false subnet_id = aws_subnet.c.id attachment { instance = aws_instance.dut2.id - device_index = 2 + device_index = 1 } tags = { |