chore(e2e): Increase worker instance size (#5251)

* chore(e2e): Update to use t2.small instances

Using the updated AWS SDK required more memory and was causing workers to crash.

* chore(e2e): Add identifier to aws instance
This commit is contained in:
Michael Li authored and GitHub committed 2024-11-18 15:02:19 -05:00
1 parent 91128ba37a
commit 820eb395a3
3 files changed
+5 -4

No files matched your search

+2 -2
View File
@@ -25,7 +25,7 @@ variable "worker_count" {
variable "worker_instance_type" {
description = "EC2 Instance type"
type = string
default = "t2.micro"
default = "t2.small"
}
variable "worker_type_tags" {
@@ -72,7 +72,7 @@ variable "controller_count" {
variable "controller_instance_type" {
description = "EC2 Instance type"
type = string
default = "t2.micro"
default = "t2.small"
}
variable "controller_ebs_iops" {
+2 -1
View File
@@ -10,6 +10,7 @@ terraform {
}
data "enos_environment" "current" {}
data "aws_caller_identity" "current" {}
locals {
selected_az = data.aws_availability_zones.available.names[random_integer.az.result]
@@ -144,7 +145,7 @@ resource "aws_instance" "worker" {
tags = merge(
local.common_tags,
{
Name = "${var.name_prefix}-boundary-worker",
Name = "${var.name_prefix}-boundary-worker-${split(":", data.aws_caller_identity.current.user_id)[1]}",
},
)
}
+1 -1
View File
@@ -31,7 +31,7 @@ variable "ubuntu_ami_id" {
variable "worker_instance_type" {
description = "The EC2 Instance type to be used for the worker's node"
type = string
default = "t2.micro"
default = "t2.small"
}
variable "ssh_aws_keypair" {