Error of "AKS_CLUSTER_NAME=$(az deployment group show --resource-group rg-shipping-dronedelivery-eastus -n cluster-stamp --query properties.outputs.aksClusterName.value -o tsv)"
Dear Sir/Madam,
I have cloned and am testing the MS reference implementation of "aks-fabrikam-dronedelivery".
According to the "05-aks-cluster.md" "Deploy the AKS Cluster"
......
- Deploy the cluster bicep from azure cli (option 1)
I ran the following:
"az deployment group create --resource-group rg-shipping-dronedelivery-eastus --template-file cluster-stamp.bicep --parameters ......"
then the command was consumed with the following warnings:
"cluster-stamp.bicep(430,5), (442,5), (454,5): warning bcp037: the property "eTag" is not allowed on objects of type "SavedSearchProperties" ......
cluster-stamp.bicep(656,5): warning bcp073: the property "maxAgentPools" is read-only. Expressions cannot be assigned to read-only properties. ......
Then I went to next section "06-gitops.md" "Place the cluster under GitOps management".
......
I ran from azure cli the following command:
"AKS_CLUSTER_NAME=$(az deployment group show --resource-group rg-shipping-dronedelivery-eastus -n cluster-stamp --query properties.outputs.aksClusterName.value -o tsv)"
and got the error message as the following:
ERROR: (DeploymentNotFound) Deployment 'cluster-stamp' could not be found.
Code: DeploymentNotFound
message: Deployment 'cluster-stamp' could not be found.
Please help me out with the problems!
Thanks!