Skip to content

provider updates #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading