~/week14-iac — bash
# Ch2 lab: control-plane container create (matches Student IaC role)
# Replace lab-yourhandle with lab-<your-github-handle> (lowercase)
$ az login
[Authenticated to the HYF tenant]
$ export CLASS_RG=rg-hyf-students
$ export CLASS_STORAGE=sthyfw14lab
$ export MY_CONTAINER=lab-yourhandle
$ az storage container-rm create \
--storage-account "$CLASS_STORAGE" \
-g "$CLASS_RG" \
--name "$MY_CONTAINER" \
--query name -o tsv
lab-yourhandle
# Same create again — still succeeds (same resource)
$ az storage container-rm create \
--storage-account "$CLASS_STORAGE" \
-g "$CLASS_RG" \
--name "$MY_CONTAINER" \
--query name -o tsv
lab-yourhandle
$ az storage container-rm list \
--storage-account "$CLASS_STORAGE" \
-g "$CLASS_RG" --query "[].name" -o tsv
lab-yourhandle
# Tear down: az storage container-rm delete --storage-account "$CLASS_STORAGE" -g "$CLASS_RG" --name "$MY_CONTAINER" --yes