aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.terraform
diff options
context:
space:
mode:
authorpmikus <pmikus@cisco.com>2021-10-18 12:44:59 +0000
committerPeter Mikus <pmikus@cisco.com>2021-10-20 14:52:15 +0000
commit8be983ad917cd47fa8da4256fa8ada14ecfcd425 (patch)
tree0a5ffc665bf98d5f11280144471d6c87881208cd /fdio.infra.terraform
parentc73f076177d0516b3d5da262354e72e42dcdc8be (diff)
fix(Terraform): Change AWS AZ
Signed-off-by: pmikus <pmikus@cisco.com> Change-Id: I19c160e40e01bd7f69c08188f61d2bcbc3fd4bcb
Diffstat (limited to 'fdio.infra.terraform')
-rw-r--r--fdio.infra.terraform/2n_aws_c5n/variables.tf2
-rw-r--r--fdio.infra.terraform/3n_aws_c5n/deploy/main.tf6
-rw-r--r--fdio.infra.terraform/3n_aws_c5n/variables.tf2
3 files changed, 5 insertions, 5 deletions
diff --git a/fdio.infra.terraform/2n_aws_c5n/variables.tf b/fdio.infra.terraform/2n_aws_c5n/variables.tf
index 93e4d29a89..4854978c7b 100644
--- a/fdio.infra.terraform/2n_aws_c5n/variables.tf
+++ b/fdio.infra.terraform/2n_aws_c5n/variables.tf
@@ -39,7 +39,7 @@ variable "instance_initiated_shutdown_behavior" {
variable "instance_type" {
description = "AWS instance type"
type = string
- default = "c5n.9xlarge"
+ default = "c5n.4xlarge"
}
variable "testbed_name" {
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 = {
diff --git a/fdio.infra.terraform/3n_aws_c5n/variables.tf b/fdio.infra.terraform/3n_aws_c5n/variables.tf
index 80f2829f22..299b3c250b 100644
--- a/fdio.infra.terraform/3n_aws_c5n/variables.tf
+++ b/fdio.infra.terraform/3n_aws_c5n/variables.tf
@@ -39,7 +39,7 @@ variable "instance_initiated_shutdown_behavior" {
variable "instance_type" {
description = "AWS instance type"
type = string
- default = "c5n.9xlarge"
+ default = "c5n.4xlarge"
}
variable "testbed_name" {