From bd9b7f9eaa3102405aaa4056fb4ecc5acf9853e2 Mon Sep 17 00:00:00 2001 From: Elkhan Date: Sat, 21 Sep 2024 22:09:15 -0400 Subject: [PATCH] Add minor modicifications to the scripts --- scripts/azure-demo.azcli | 15 ++++++++------- scripts/cll-demo-session.azcli | 4 +++- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/scripts/azure-demo.azcli b/scripts/azure-demo.azcli index cc70782..65a1f69 100644 --- a/scripts/azure-demo.azcli +++ b/scripts/azure-demo.azcli @@ -32,14 +32,15 @@ az deployment sub what-if --location eastus2 --template-file .\samples\19-deploy az deployment sub create --location eastus2 --template-file .\samples\19-deploy-tagging-policy-sub.bicep -# # List all RG names -# az group list -o table -# # Decompile -# az bicep decompile --file .\Pilot-project\decompile\template-clean-v2.json +# List all RG names +az group list -o table + +# Decompile +az bicep decompile --file .\Pilot-project\decompile\template-clean-v2.json # az group create -n 'bicep-part1-pilot-web-demo' -l 'eastus2' -# # Deploy parent-child-scenarios.bicep -# az group create -n 'v3-kineteco-arm-eastus2' -l 'eastus2' -# az deployment group create -g 'v3-kineteco-arm-eastus2' -f .\samples\14-deploy-child-parent-scenarios.bicep -c \ No newline at end of file +# Deploy parent-child-scenarios.bicep +az group create -n 'v3-kineteco-arm-eastus2' -l 'eastus2' +az deployment group create -g 'v3-kineteco-arm-eastus2' -f .\samples\14-deploy-child-parent-scenarios.bicep -c \ No newline at end of file diff --git a/scripts/cll-demo-session.azcli b/scripts/cll-demo-session.azcli index 4b9d20d..e4d4de8 100644 --- a/scripts/cll-demo-session.azcli +++ b/scripts/cll-demo-session.azcli @@ -2,12 +2,14 @@ az login --use-device-code az account show --query name +# Set the subscription az account set --subscription 'Primary MCT Azure' az group list -o table + +# Create the resource group and list them in a view az group create -n 'cll-bicep-demo' -l 'eastus2' az group list -o table # Deploy Policy Definitions to subscription - az deployment sub create --location eastus2 --template-file .\samples\3-deploy-storage-w-Lock.bicep -c \ No newline at end of file