Skip to content

Instantly share code, notes, and snippets.

$urls = @("https://test123.com/callback","https://test123.com/silent")
$appObjId = "f"
$app = az rest --method get --headers "Content-Type=application/json" --uri "https://graph.microsoft.com/beta/applications/$appObjId"
$app = $app | ConvertFrom-Json
if(!$app.spa){
Write-Host "api respone does not contain spa"
exit 1
image_id = "ami-abc123"
availability_zone_names = [
"us-east-1a",
"us-west-1c",
]
provider "azurerm" {
version = "=1.34.0"
client_id = "{clientId}"
subscription_id = "{subscriptionId}"
tenant_id = "{tenantId}"
client_secret = "{clientSecret}"
}
resource "azurerm_resource_group" "resource_group" {
name = "test-sven"

Keybase proof

I hereby claim:

  • I am svenhamers on github.
  • I am svenhamersaps (https://keybase.io/svenhamersaps) on keybase.
  • I have a public key ASDVWK_azK8Q552FBZ-2A7t40ckzREavgHIBhZGwJORU_wo

To claim this, I am signing this object: