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" ] },