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 -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]}",
},
)
}