-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Description
When Attempting to run the quickstart bicep template from here:
I get the following error:
wget https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/quickstart.bicep -O quickstart.bicep
AIO_EXTENSION_NAME=$(az k8s-extension list -g $RESOURCE_GROUP --cluster-name $CLUSTER_NAME --cluster-type connectedClusters --query "[?extensionType == 'microsoft.iotoperations'].id" -o tsv | awk -F'/' '{print $NF}')
AIO_INSTANCE_NAME=$(az iot ops list -g $RESOURCE_GROUP --query "[0].name" -o tsv)
CUSTOM_LOCATION_NAME=$(az iot ops list -g $RESOURCE_GROUP --query "[0].extendedLocation.name" -o tsv | awk -F'/' '{print $NF}')
az deployment group create --subscription $SUBSCRIPTION_ID --resource-group $RESOURCE_GROUP --template-file quickstart.bicep --parameters clusterName=$CLUSTER_NAME customLocationName=$CUSTOM_LOCATION_NAME aioExtensionName=$AIO_EXTENSION_NAME aioInstanceName=$AIO_INSTANCE_NAME
--2025-04-11 21:08:34-- https://raw.githubusercontent.com/Azure-Samples/explore-iot-operations/main/samples/quickstarts/quickstart.bicep
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 8345 (8.1K) [text/plain]
Saving to: ‘quickstart.bicep’
quickstart.bicep 100%[==========================================================================>] 8.15K --.-KB/s in 0.002s
2025-04-11 21:08:34 (4.71 MB/s) - ‘quickstart.bicep’ saved [8345/8345]
The configuration value of bicep.use_binary_from_path has been set to 'false'.
WARNING: The following experimental Bicep features have been enabled: Extensibility, Secure outputs. Experimental features should be enabled for testing purposes only, as there are no guarantees about the quality or stability of these features. Do not enable these settings for any production usage, or your production environment may be subject to breaking.
{"code": "InvalidTemplate", "message": "Deployment template validation failed: 'The template resource 'default' for type 'Microsoft.IoTOperations/instances/dataflowEndpoints' at line '82' and column '67' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.", "additionalInfo": [{"type": "TemplateViolation", "info": {"lineNumber": 82, "linePosition": 67, "path": "properties.template.resources.defaultDataflowEndpoint.type"}}]}
Metadata
Metadata
Assignees
Labels
No labels