Skip to content

Instantly share code, notes, and snippets.

View bennage's full-sized avatar
🌦️
working on the weather 🗺️

Christopher Bennage bennage

🌦️
working on the weather 🗺️
View GitHub Profile
@bennage
bennage / deployment-test.md
Created March 17, 2021 16:42
testing the Percept deployment

Deploy to Azure

@bennage
bennage / clean-up.sh
Created April 22, 2021 17:33
bash script for deleting all resource groups matching a pattern
#!/usr/bin/env bash
groups=$(az group list --query "[?contains(name,'bennage')].name")
for row in $(echo "${groups}" | jq -r '.[]'); do
_remove() {
echo ${row}
az group delete -y --no-wait -g ${row}
}
@bennage
bennage / example.deploy.json
Last active April 28, 2021 16:57
assigning a role for storage access
{
"$schema": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"guid": {
"type": "string",
"defaultValue": "[newGuid()]"
}
},
"variables": {