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
pull/5253/head
Michael Li 2 years ago committed by GitHub
parent 91128ba37a
commit 820eb395a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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" {

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

@ -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" {

Loading…
Cancel
Save