File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 3737
3838 - name : use Google Provider
3939 run : | # # use the secret to create json file
40- sudo echo $GOOGLE_CREDS > sa-key.json
40+ sudo echo ${{ secrets. GOOGLE_CREDS }} | base64 -d > sa-key.json
4141 stackql exec -i ./examples/google-example.iql --auth="${AUTH}"
4242 env :
43- AUTH : ${{ vars.AUTH }} # # '{ "google": { "type": "service_account", "credentialsfilepath": "creds/ sa-key.json" }}'
43+ AUTH : ${{ vars.AUTH }} # # '{ "google": { "type": "service_account", "credentialsfilepath": "sa-key.json" }}'
4444 GOOGLE_CREDS : ${{ secrets.GOOGLE_CREDS }}
Original file line number Diff line number Diff line change 11REGISTRY PULL google v23.01.00116;
2- SHOW PROVIDERS;
3- select name
4- from google.cloudasset.assets ;
2+ SELECT name, status
3+ FROM google.compute.instances
4+ WHERE project = 'stackql-demo' AND zone = 'australia-southeast1-a' ;
You can’t perform that action at this time.
0 commit comments