I hereby claim:
- I am johnybradshaw on github.
- I am johnybradshaw (https://keybase.io/johnybradshaw) on keybase.
- I have a public key ASCTwQLHtu-eKfSoQSblIvKyoDvsMuQenCi42pJB_lvaNQo
To claim this, I am signing this object:
| # Google Asset Query (https://console.cloud.google.com/iam-admin/asset-inventory/query) | |
| # This extracts all components for licensing in Wiz | |
| SELECT | |
| assetType, | |
| COUNT(*) AS cnt | |
| FROM | |
| STANDARD_METADATA | |
| WHERE | |
| assetType IN | |
| ('compute.googleapis.com/Instance', |
| # KQL query to output the resource counts for Wiz to price against | |
| Resources | |
| | where type in ( | |
| "microsoft.compute/virtualmachines", | |
| "microsoft.containerservice/managedclusters", | |
| "microsoft.web/sites", | |
| "microsoft.storage/storageaccounts", | |
| "microsoft.classicstorage/storageaccounts", | |
| "microsoft.dbformysql/servers", | |
| "microsoft.dbformysql/flexibleservers") |
| #!/bin/bash | |
| #delete versions from a bucket, this will work with Scaleway | |
| bucket=$1 | |
| location=$2 | |
| endpoint=".scw.cloud" | |
| set -e | |
| set -x |
| apiVersion: v1 | |
| baseDomain: skytap.ninja #Change this to match your domain | |
| compute: | |
| - hyperthreading: Enabled | |
| name: worker | |
| replicas: 0 | |
| controlPlane: | |
| hyperthreading: Enabled | |
| name: master | |
| replicas: 3 |
| import json | |
| import requests | |
| import datetime | |
| import hashlib | |
| import hmac | |
| import base64 | |
| # Update the customer ID to your Log Analytics workspace ID | |
| customer_id = 'XXXXXXXXXXXXXXXXXX' | |
| { | |
| "definition": { | |
| "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", | |
| "actions": { | |
| "For_each": { | |
| "actions": { | |
| "Send_Data": { | |
| "inputs": { | |
| "body": "@{items('For_each')}", | |
| "headers": { |
| provider "skytap" { | |
| username = "username" | |
| api_token = "" | |
| } | |
| # Create a new environment | |
| resource "skytap_environment" "two_lpar" { | |
| template_id = "1498907" | |
| name = "Two Node LPAR environment" | |
| description = "Two deployed AIX LPARs with an iSCSI network" |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "This script must be run as root" | |
| exit 1 | |
| fi | |
| ############################# | |
| # | |
| # OCP4 on Skytap Builder | |
| # | |
| ############################# |
| provider "skytap" { | |
| username = "${var.skytap_username}" | |
| api_token = "${var.skytap_api_token}" | |
| } | |
| # Create a new environment | |
| resource "skytap_environment" "two_lpar" { | |
| template_id = "1498907" | |
| name = "Two Node LPAR environment" | |
| description = "Two deployed AIX LPARs with an iSCSI network" |