fixed arch problem

This commit is contained in:
pokeeffe-molecula 2022-02-14 16:31:55 -06:00
parent f35741adcf
commit f97878edcf
4 changed files with 9 additions and 4 deletions

View file

@ -11,7 +11,7 @@ else
fi
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
source $SCRIPT_DIR/../..utilCluster.sh
source $SCRIPT_DIR/../../utilCluster.sh
pushd ./qa/tf/gauntlet/able
echo "Running terraform init..."

View file

@ -13,7 +13,7 @@ data "aws_ami" "amazon_linux_2" {
filter {
name = "architecture"
values = ["arm64", "x86_64"]
values = var.fb_cluster_arch
}
}

View file

@ -3,6 +3,11 @@ variable "cluster_prefix" {
description = "This is a identifier that will be prefixed to created resources"
}
variable "fb_cluster_arch" {
type = list(string)
default = ["arm64"]
}
variable "fb_ingest_type" {
type = string
default = "c6g.2xlarge"

View file

@ -3,10 +3,10 @@ module "able-cluster" {
cluster_prefix = var.cluster_prefix
region = var.region
profile = var.profile
fb_data_node_type = "m6i.12xlarge"
fb_data_node_type = "m6g.12xlarge"
fb_data_disk_iops = 10000
fb_data_node_count = 3
fb_ingest_type = "m6i.2xlarge"
fb_ingest_type = "m6g.2xlarge"
fb_ingest_disk_iops = 10000
fb_ingest_disk_size_gb = 500
fb_ingest_node_count = 1