Skip to content

Commit 449285b

Browse files
committed
Don't match ARM64 when instance type starts with 'g'
1 parent 9c1252b commit 449285b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/aws/manage_aws_stack.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ action_create() {
3030
local -r cf_tpl_file="${SCRIPTDIR}/cf-gen.yaml"
3131

3232
local arch="x86_64"
33-
if [[ "${inst_type%.*}" =~ .*"g".* ]]; then
33+
if [[ "${inst_type%.*}" =~ .+"g".* ]]; then
3434
arch="arm64"
3535
fi
3636

0 commit comments

Comments
 (0)