none
Why I fail to create Azure Data lake with ARM template???

    Question

  • I have Azure data created in portal. I have downloaded automation scripts from portal and trying to do deployment, but I cannot create new data Lake store and analytics. I have not edited template.json file, but parameters.json is edited. What is wrong?

    az group deployment create --resource-group ARMTestRG --template-file  C:\Development\template.json  --parameters C:\Development\parameters.json

    Deployment template validation failed: 'The provided value for the template parameter 'accounts_mydata_dataLakeStore

    Accounts' at line '1' and column '312' is not valid.'.

     

    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#",

    "contentVersion": "1.0.0.0",

    "parameters": {

    "accounts_mydata_defaultDataLakeStoreAccount": {

    "value": "mydata_defaultDataLakeStoreAccount_2"

    },

    "accounts_mydata_dataLakeStoreAccounts": {

    "value": "accountsmydata2"

    },

    "accounts_myddata_name": {

    "value": "accountsmydataname2"

    },

    "accounts_mydata_name_1": {

    "value": "accountsmydataname12"

    },

    "dataLakeStoreAccounts_mydata_name": {

    "value": "dataLakeStoreAccountsmydataname2"

    }

    }

    }


    Kenny_I

    Monday, December 11, 2017 1:10 PM

All replies

  • Hi Kenny,

    We're looking into this. Something that may help is changing the value for accounts_mydata_dataLakeStoreAccounts to [{"name":"accountsmydata2"}].

    For now, to see what the template should look like, please use the ARM template for Data Lake Analytics account creation -- published here.

    I hope this helps!

    Best regards,

    Matthew

    Azure Data Lake


    Tuesday, December 12, 2017 9:44 PM