diff --git a/ami.tf b/ami.tf index 686c84c..e3939c9 100644 --- a/ami.tf +++ b/ami.tf @@ -12,6 +12,6 @@ data "aws_ami" "amazon_linux_2" { owners = ["amazon"] filter { name = "name" - values = ["amzn2-ami-hvm*"] + values = ["al2023-ami-2023.*-x86_64"] } } diff --git a/executor.tf b/executor.tf index e016ff9..0338dec 100644 --- a/executor.tf +++ b/executor.tf @@ -87,7 +87,7 @@ resource "null_resource" "setup_nodes" { "echo SETUP NODES ${count.index}", "echo '${local.node_entrypoint}'", "cd ${var.loadtest_dir_destination}", - "${local.node_entrypoint}", + local.node_entrypoint, "sleep 1" ] } diff --git a/scripts/locust.entrypoint.leader.full.sh.tpl b/scripts/locust.entrypoint.leader.full.sh.tpl index 4f9287c..d772ea7 100644 --- a/scripts/locust.entrypoint.leader.full.sh.tpl +++ b/scripts/locust.entrypoint.leader.full.sh.tpl @@ -1,7 +1,7 @@ #!/bin/bash sudo yum update -y -sudo yum install -y pcre2-devel.x86_64 python gcc python3-devel tzdata curl unzip bash htop +sudo yum install -y pcre2-devel.x86_64 python gcc python3-devel tzdata curl unzip bash htop python3-pip --skip-broken # LOCUST export LOCUST_VERSION="${LOCUST_VERSION}" diff --git a/scripts/locust.entrypoint.node.full.sh.tpl b/scripts/locust.entrypoint.node.full.sh.tpl index f7679ea..08fbe43 100644 --- a/scripts/locust.entrypoint.node.full.sh.tpl +++ b/scripts/locust.entrypoint.node.full.sh.tpl @@ -1,7 +1,7 @@ #!/bin/bash sudo yum update -y -sudo yum install -y pcre2-devel.x86_64 python gcc python3-devel tzdata curl unzip bash htop +sudo yum install -y pcre2-devel.x86_64 python gcc python3-devel tzdata curl unzip bash htop python3-pip --skip-broken # LOCUST export LOCUST_VERSION="${LOCUST_VERSION}"