Skip to content

Commit

Permalink
Merge pull request #5 from stackql/feature/updates
Browse files Browse the repository at this point in the history
provider updates
  • Loading branch information
jeffreyaven authored Jul 17, 2024
2 parents e4d93a3 + bf509ff commit 098c4a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ USER stackql
RUN stackql exec 'registry pull aws' || (echo "Failed to pull aws provider" && exit 1)
RUN stackql exec 'registry pull google' || (echo "Failed to pull google provider" && exit 1)
RUN stackql exec 'registry pull github' || (echo "Failed to pull github provider" && exit 1)
# RUN stackql exec 'registry pull azure'
RUN stackql exec 'registry pull azure' || (echo "Failed to pull azure provider" && exit 1)
# RUN stackql exec 'registry pull k8s'
# RUN stackql exec 'registry pull netlify'
# RUN stackql exec 'registry pull okta'
Expand Down
6 changes: 3 additions & 3 deletions notebooks/aws/aws.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
"source": [
"%%stackql\n",
"SELECT \n",
"state, \n",
"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"
]
},
Expand All @@ -40,7 +40,7 @@
"metadata": {},
"outputs": [],
"source": [
"_.plot(kind='bar', title='Instances by State', x='state', y='num_instances')"
"_.plot(kind='bar', title='Instances by State', x='instance_state', y='num_instances')"
]
},
{
Expand Down

0 comments on commit 098c4a7

Please sign in to comment.