From a2e5a5b42aa24411845fd4a9592880e923a0a301 Mon Sep 17 00:00:00 2001 From: Hudson Humphries Date: Tue, 17 Sep 2024 16:23:39 -0700 Subject: [PATCH] Change from t2.medium to t3.medium --- terraform/ecs/main.tf | 2 +- .../com/amazon/aoc/validators/ecsinstancelogtemplate/instance | 4 ++-- .../aoc/validators/ecsinstancelogtemplate/instanceDiskIO | 4 ++-- .../amazon/aoc/validators/ecsinstancelogtemplate/instanceFS | 4 ++-- .../amazon/aoc/validators/ecsinstancelogtemplate/instanceNet | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/terraform/ecs/main.tf b/terraform/ecs/main.tf index 8d1ba0920..0c6718853 100644 --- a/terraform/ecs/main.tf +++ b/terraform/ecs/main.tf @@ -120,7 +120,7 @@ data "aws_ami" "amazon_linux_2" { resource "aws_launch_template" "launchtemp" { name_prefix = "launchtemp-${module.common.testing_id}-" image_id = data.aws_ami.amazon_linux_2.image_id - instance_type = "t2.medium" + instance_type = "t3.medium" user_data = base64encode("#!/bin/bash\necho ECS_CLUSTER=aoc-testing-${module.common.testing_id} >> /etc/ecs/ecs.config") metadata_options { http_endpoint = "enabled" diff --git a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instance b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instance index 76a068756..724708f15 100644 --- a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instance +++ b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instance @@ -3,7 +3,7 @@ "ClusterName": "aoc-testing-bb8b409570942b90", "ContainerInstanceId": "8471eea1fc384344a473b708c62d4c4f", "InstanceId": "i-06535226c39fa333a", - "InstanceType": "t2.medium", + "InstanceType": "t3.medium", "Sources": [ "cadvisor", "roc", @@ -111,4 +111,4 @@ "instance_network_tx_errors": 0, "instance_network_tx_packets": 8.818008, "instance_number_of_running_tasks": 1 -} \ No newline at end of file +} diff --git a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceDiskIO b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceDiskIO index 87a342473..6201e1641 100644 --- a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceDiskIO +++ b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceDiskIO @@ -3,7 +3,7 @@ "ClusterName": "aoc-testing-bb8b409570942b90", "ContainerInstanceId": "8471eea1fc384344a473b708c62d4c4f", "InstanceId": "i-06535226c39fa333a", - "InstanceType": "t2.medium", + "InstanceType": "t3.medium", "Sources": [ "cadvisor", "calculated" @@ -40,4 +40,4 @@ "instance_filesystem_inodes_free": 504691, "instance_filesystem_usage": 0, "instance_filesystem_utilization": 0 -} \ No newline at end of file +} diff --git a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceFS b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceFS index fd2ba1f56..01ded577a 100644 --- a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceFS +++ b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceFS @@ -3,7 +3,7 @@ "ClusterName": "aoc-testing-bb8b409570942b90", "ContainerInstanceId": "8471eea1fc384344a473b708c62d4c4f", "InstanceId": "i-06535226c39fa333a", - "InstanceType": "t2.medium", + "InstanceType": "t3.medium", "Sources": [ "cadvisor", "calculated" @@ -40,4 +40,4 @@ "instance_filesystem_inodes_free": 504691, "instance_filesystem_usage": 0, "instance_filesystem_utilization": 0 -} \ No newline at end of file +} diff --git a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceNet b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceNet index d0d2f85de..f4d717ada 100644 --- a/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceNet +++ b/validator/src/test/java/com/amazon/aoc/validators/ecsinstancelogtemplate/instanceNet @@ -3,7 +3,7 @@ "ClusterName": "aoc-testing-bb8b409570942b90", "ContainerInstanceId": "8471eea1fc384344a473b708c62d4c4f", "InstanceId": "i-06535226c39fa333a", - "InstanceType": "t2.medium", + "InstanceType": "t3.medium", "Sources": [ "cadvisor", "calculated" @@ -21,4 +21,4 @@ "instance_interface_network_tx_errors": 0, "instance_interface_network_tx_packets": 8.818008, "interface": "eth0" -} \ No newline at end of file +}