From 449285b577f1fe65d951443eb2941453af7d0ae6 Mon Sep 17 00:00:00 2001 From: Patryk Matuszak Date: Mon, 17 Mar 2025 09:44:08 +0100 Subject: [PATCH] Don't match ARM64 when instance type starts with 'g' --- scripts/aws/manage_aws_stack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/aws/manage_aws_stack.sh b/scripts/aws/manage_aws_stack.sh index 5143104ab8..d3586e335a 100755 --- a/scripts/aws/manage_aws_stack.sh +++ b/scripts/aws/manage_aws_stack.sh @@ -30,7 +30,7 @@ action_create() { local -r cf_tpl_file="${SCRIPTDIR}/cf-gen.yaml" local arch="x86_64" - if [[ "${inst_type%.*}" =~ .*"g".* ]]; then + if [[ "${inst_type%.*}" =~ .+"g".* ]]; then arch="arm64" fi