From 6f11eee93eea46e275d40638797996b6e8a5fe09 Mon Sep 17 00:00:00 2001 From: Jeffrey Aven Date: Thu, 18 Jul 2024 07:56:22 +1000 Subject: [PATCH] aws updates --- notebooks/aws/aws.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/aws/aws.ipynb b/notebooks/aws/aws.ipynb index fa592b9..26fc8a5 100644 --- a/notebooks/aws/aws.ipynb +++ b/notebooks/aws/aws.ipynb @@ -30,7 +30,7 @@ "JSON_EXTRACT(state, '$$.Name') as instance_state, \n", "count(*) as num_instances\n", "FROM aws.ec2.instances \n", - "WHERE region IN ($regions)\n", + "WHERE region = '$region'\n", "GROUP BY state" ] }, @@ -52,7 +52,7 @@ "%%stackql\n", "SELECT region, instanceType, COUNT(*) as num_instances\n", "FROM aws.ec2.instances\n", - "WHERE region IN ($regions)\n", + "WHERE region = '$region'\n", "GROUP BY instanceType" ] },