1
0
Форкнуть 0

Merge branch 'starter' into eedorenko/levels

This commit is contained in:
Eugene 2021-04-08 12:11:42 -07:00
Родитель c025448cb6 77eb321434
Коммит 072d2806c2
1 изменённых файлов: 7 добавлений и 1 удалений

8
test
Просмотреть файл

@ -6,6 +6,12 @@ export TF_VAR_workspace=secureaks
-launchpad \
az login --service-principal -u 8ccc504d-7fd0-4b2e-b6da-e2b04537d848 -p sbbj1iZZRq.PU8XtOQUFfQ_JQhu1h1wq2t --tenant 72f988bf-86f1-41af-91ab-2d7cd011db47
export ARM_CLIENT_ID=8ccc504d-7fd0-4b2e-b6da-e2b04537d848
export ARM_CLIENT_SECRET=sbbj1iZZRq.PU8XtOQUFfQ_JQhu1h1wq2t
export ARM_SUBSCRIPTION_ID=0fe1cc35-0cfa-4152-97d7-5dfb45a8d4ba
export ARM_TENANT_ID=72f988bf-86f1-41af-91ab-2d7cd011db47
id=$(az storage account list --query "[?tags.tfstate=='level0' && tags.launchpad=='launchpad']" -o json | jq -r .[0].id)
@ -42,7 +48,7 @@ fi
for rgname in `az group list --query "[? contains(name,'-ef-')][].{name:name}" -o tsv`; do
for rgname in `az group list --query "[? contains(name,'launchpad')][].{name:name}" -o tsv`; do
echo Deleting ${rgname}
az group delete -n ${rgname} --yes --no-wait
done