Last active
October 30, 2023 05:56
-
-
Save vtml/dd8b8b39cfca145c1b0ab4f558273a82 to your computer and use it in GitHub Desktop.
Sample Sitecore Code Deployment ARM Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"sitecoreAdminPassword": { | |
"reference": { | |
"keyVault": { | |
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group/providers/Microsoft.KeyVault/vaults/keyvault-kv" | |
}, | |
"secretName": "sitecoreAdminPassword" | |
} | |
}, | |
"sqlServerLogin": { | |
"reference": { | |
"keyVault": { | |
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group/providers/Microsoft.KeyVault/vaults/keyvault-kv" | |
}, | |
"secretName": "sqlServerLogin" | |
} | |
}, | |
"sqlServerPassword": { | |
"reference": { | |
"keyVault": { | |
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group/providers/Microsoft.KeyVault/vaults/keyvault-kv" | |
}, | |
"secretName": "sqlServerPassword" | |
} | |
}, | |
"solrConnectionString": { | |
"reference": { | |
"keyVault": { | |
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resource-group/providers/Microsoft.KeyVault/vaults/keyvault-kv" | |
}, | |
"secretName": "solrConnectionString" | |
} | |
}, | |
"redisHostName": "resource-group-redis.redis.cache.windows.net" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"deploymentId": { | |
"type": "string", | |
"defaultValue": "[resourceGroup().name]" | |
}, | |
"location": { | |
"type": "string", | |
"defaultValue": "[resourceGroup().location]" | |
}, | |
"sitecoreAdminPassword": { | |
"type": "securestring", | |
"minLength": 8 | |
}, | |
"licenseXml": { | |
"type": "securestring", | |
"minLength": 1 | |
}, | |
"sqlServerName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-sql')]" | |
}, | |
"sqlServerFqdn": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-sql.database.windows.net')]" | |
}, | |
"sqlServerLogin": { | |
"type": "string", | |
"minLength": 1 | |
}, | |
"sqlServerPassword": { | |
"type": "securestring", | |
"minLength": 8 | |
}, | |
"sqlServerVersion": { | |
"type": "string", | |
"defaultValue": "12.0" | |
}, | |
"sqlDatabaseCollation": { | |
"type": "string", | |
"defaultValue": "SQL_Latin1_General_CP1_CI_AS" | |
}, | |
"coreSqlDatabaseName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-core-db')]" | |
}, | |
"masterSqlDatabaseName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-master-db')]" | |
}, | |
"securitySqlDatabaseName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-core-db')]" | |
}, | |
"webSqlDatabaseName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-web-db')]" | |
}, | |
"formsSqlDatabaseName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-forms-db')]" | |
}, | |
"coreSqlDatabaseUserName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "coreuser" | |
}, | |
"coreSqlDatabasePassword": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('core', parameters('passwordSalt'))), uniqueString('core', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('core', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"masterSqlDatabaseUserName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "masteruser" | |
}, | |
"masterSqlDatabasePassword": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('master', parameters('passwordSalt'))), uniqueString('master', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('master', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"securitySqlDatabaseUserName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "securityuser" | |
}, | |
"securitySqlDatabasePassword": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('security', parameters('passwordSalt'))), uniqueString('security', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('security', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"webSqlDatabaseUserName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "webuser" | |
}, | |
"webSqlDatabasePassword": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('web', parameters('passwordSalt'))), uniqueString('web', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('web', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"formsSqlDatabaseUserName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "formsuser" | |
}, | |
"formsSqlDatabasePassword": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('forms', parameters('passwordSalt'))), uniqueString('forms', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('forms', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"redisCacheName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-redis')]" | |
}, | |
"redisHostName": { | |
"type": "string", | |
"defaultValue": "" | |
}, | |
"searchServiceName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-as')]" | |
}, | |
"searchServiceLocation": { | |
"type": "string", | |
"defaultValue": "[parameters('location')]" | |
}, | |
"searchServiceReplicaCount": { | |
"type": "int", | |
"defaultValue": 1 | |
}, | |
"solrConnectionString": { | |
"type": "securestring", | |
"defaultValue": "" | |
}, | |
"useApplicationInsights": { | |
"type": "bool", | |
"defaultValue": true | |
}, | |
"applicationInsightsName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-ai')]" | |
}, | |
"applicationInsightsLocation": { | |
"type": "string", | |
"defaultValue": "East US" | |
}, | |
"storeSitecoreCountersInApplicationInsights": { | |
"type": "bool", | |
"defaultValue": false | |
}, | |
"applicationInsightsPricePlan": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-ai-pp')]" | |
}, | |
"siHostingPlanName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-si-hp')]" | |
}, | |
"cmHostingPlanName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-cm-hp')]" | |
}, | |
"cdHostingPlanName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-cd-hp')]" | |
}, | |
"siWebAppName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-si')]" | |
}, | |
"siWebAppHostName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-si.azurewebsites.net')]" | |
}, | |
"cmWebAppName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-cm')]" | |
}, | |
"cmWebAppHostName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-cm.azurewebsites.net')]" | |
}, | |
"cdWebAppName": { | |
"type": "string", | |
"defaultValue": "[concat(parameters('deploymentId'), '-cd')]" | |
}, | |
"securityClientIp": { | |
"type": "string", | |
"defaultValue": "0.0.0.0" | |
}, | |
"securityClientIpMask": { | |
"type": "string", | |
"defaultValue": "0.0.0.0" | |
}, | |
"authCertificateName": { | |
"type": "string", | |
"minLength": 1, | |
"defaultValue": "[concat(parameters('deploymentId'), '-auth')]" | |
}, | |
"siClientSecret": { | |
"type": "securestring", | |
"minLength": 6, | |
"defaultValue": "[toUpper(replace(guid(uniqueString('siClientSecret', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '-',''))]" | |
}, | |
"telerikEncryptionKey": { | |
"type": "securestring", | |
"minLength": 8, | |
"defaultValue": "[concat(toUpper(uniqueString('telerik', parameters('passwordSalt'))), uniqueString('telerik', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('telerik', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]" | |
}, | |
"passwordSalt": { | |
"type": "securestring", | |
"minLength": 1, | |
"defaultValue": "[resourceGroup().id]" | |
}, | |
"aseName": { | |
"type": "string", | |
"defaultValue": "" | |
}, | |
"aseResourceGroupName": { | |
"type": "string", | |
"defaultValue": "[resourceGroup().name]" | |
}, | |
"cmNodeJsVersion": { | |
"type": "string", | |
"defaultValue": "8.11.1" | |
}, | |
"cdNodeJsVersion": { | |
"type": "string", | |
"defaultValue": "8.11.1" | |
}, | |
"environmentType": { | |
"type": "string", | |
"defaultValue": "Non-Production" | |
} | |
}, | |
"variables": { | |
"webApiVersion": "2018-02-01", | |
"searchApiVersion": "2015-08-19", | |
"searchRestApiVersion": "2017-11-11", | |
"redisApiVersion": "2016-04-01", | |
"appInsightsApiVersion": "2015-05-01", | |
"sqlServerFqdnTidy": "[trim(toLower(parameters('sqlServerFqdn')))]", | |
"coreSqlDatabaseNameTidy": "[toLower(trim(parameters('coreSqlDatabaseName')))]", | |
"securitySqlDatabaseNameTidy": "[toLower(trim(parameters('securitySqlDatabaseName')))]", | |
"webSqlDatabaseNameTidy": "[toLower(trim(parameters('webSqlDatabaseName')))]", | |
"masterSqlDatabaseNameTidy": "[toLower(trim(parameters('masterSqlDatabaseName')))]", | |
"formsSqlDatabaseNameTidy": "[toLower(trim(parameters('formsSqlDatabaseName')))]", | |
"redisCacheNameTidy": "[toLower(trim(parameters('redisCacheName')))]", | |
"redisHostNameTidy": "[toLower(trim(parameters('redisHostName')))]", | |
"siWebAppNameTidy": "[toLower(trim(parameters('siWebAppName')))]", | |
"cmWebAppNameTidy": "[toLower(trim(parameters('cmWebAppName')))]", | |
"cmWebAppHostUrl": "[concat('https://', parameters('cmWebAppHostName'))]", | |
"cdWebAppNameTidy": "[toLower(trim(parameters('cdWebAppName')))]", | |
"appInsightsNameTidy": "[toLower(trim(parameters('applicationInsightsName')))]", | |
"searchServiceNameTidy": "[toLower(trim(parameters('searchServiceName')))]", | |
"searchProvider": "[if(empty(parameters('solrConnectionString')), 'Azure', 'Solr')]", | |
"authCertificateNameTidy": "[toLower(trim(parameters('authCertificateName')))]" | |
}, | |
"resources": [ | |
{ | |
"type": "Microsoft.Web/certificates", | |
"name": "[variables('authCertificateNameTidy')]", | |
"apiVersion": "2016-03-01", | |
"location": "[resourceGroup().location]", | |
"properties": { | |
} | |
}, | |
{ | |
"location": "[resourceGroup().location]", | |
"properties": { | |
"siteConfig": { | |
} | |
}, | |
"name": "resource-group-cm/staging", | |
"type": "Microsoft.Web/sites/slots", | |
"apiVersion": "[variables('webApiVersion')]" | |
}, | |
{ | |
"location": "[resourceGroup().location]", | |
"name": "resource-group-cm/staging/MSDeploy", | |
"properties": { | |
"addOnPackages": [ | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/Coveo for Sitecore 10.0 5.0.900.5.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A29Z&se=2023-10-25T12%3A51%3A29Z&sr=b&sp=r&sig=a6k1otkHwrgnizcrN7tKf5ppsxJkNtlWnBniasKI6dk%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/IB+Sitecore+Connector-3.2.0.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A31Z&se=2023-10-25T12%3A51%3A31Z&sr=b&sp=r&sig=pOmD1U9lurC%2BAEbPErR8VMCyExocIqdjL3hG26HxJwQ%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/Sitecore Experience Accelerator XM 10.0.0.3138.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A32Z&se=2023-10-25T12%3A51%3A32Z&sr=b&sp=r&sig=XI1i1DWX%2FUgsGsjVN31CjeQh1oab5i7kuKG%2FNNw%2F1X0%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]", | |
"Solr Web Index Name": "sitecore_sxa_web_index", | |
"Solr Master Index Name": "sitecore_sxa_master_index" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/Sitecore JavaScript Services Server for Sitecore 10.0.0 XM 15.0.1 rev. 201112.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A34Z&se=2023-10-25T12%3A51%3A34Z&sr=b&sp=r&sig=BkB4%2Fcayx6l5slSnRPfDzu5KvMehQb%2FXWqE8PPi%2BWKA%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/Sitecore.PowerShell.Extensions-6.1.1.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A35Z&se=2023-10-25T12%3A51%3A35Z&sr=b&sp=r&sig=ox73et4jHfNxzpHUBjPAH3fmY6mv7TIQmPHcBb01zVo%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/CM-website-files-wdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A37Z&se=2023-10-25T12%3A51%3A37Z&sr=b&sp=r&sig=F1uLT3d%2BNVmPU2Sz%2BIDcSKxYE6kTCH2EZNkj6p3BgSM%3D", | |
"setParameters": { | |
"Experience Forms Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('formsSqlDatabaseUserName'), ';Password=', parameters('formsSqlDatabasePassword'), ';')]", | |
"Core Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('coreSqlDatabaseUserName'), ';Password=', parameters('coreSqlDatabasePassword'), ';')]", | |
"Web Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('webSqlDatabaseUserName'), ';Password=', parameters('webSqlDatabasePassword'), ';')]", | |
"Security DB Password": "[concat(toUpper(uniqueString('security', parameters('passwordSalt'))), uniqueString('security', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('security', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Master DB Password": "[concat(toUpper(uniqueString('master', parameters('passwordSalt'))), uniqueString('master', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('master', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Experience Forms DB User Name": "formsuser", | |
"Cloud Search Connection String": "[if(equals(variables('searchProvider'), 'Azure'), concat('serviceUrl=https://', variables('searchServiceNameTidy'), '.search.windows.net;apiVersion=', variables('searchRestApiVersion'), ';apiKey=', listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey), '')]", | |
"Use Application Insights": "[string(parameters('useApplicationInsights'))]", | |
"Master DB User Name": "masteruser", | |
"Master Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('masterSqlDatabaseUserName'), ';Password=', parameters('masterSqlDatabasePassword'), ';')]", | |
"Security Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('securitySqlDatabaseUserName'), ';Password=', parameters('securitySqlDatabasePassword'), ';')]", | |
"SOLR Connection String": "[parameters('solrConnectionString')]", | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Web DB User Name": "webuser", | |
"store Sitecore Counters In Application Insights": "[if(parameters('useApplicationInsights'), string(parameters('storeSitecoreCountersInApplicationInsights')), 'false')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Insights Role": "CM", | |
"License Xml": "[parameters('licenseXml')]", | |
"Web DB Password": "[concat(toUpper(uniqueString('web', parameters('passwordSalt'))), uniqueString('web', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('web', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Core DB User Name": "coreuser", | |
"Security Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Search Provider": "[variables('searchProvider')]", | |
"IP Security Client IP Mask": "0.0.0.0", | |
"Sitecore Admin New Password": "[parameters('sitecoreAdminPassword')]", | |
"Application Insights Instrumentation Key": "[if(parameters('useApplicationInsights'), reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy')), variables('appInsightsApiVersion')).InstrumentationKey, '')]", | |
"Sitecore Identity Secret": "[parameters('siClientSecret')]", | |
"Security DB User Name": "securityuser", | |
"Telerik Encryption Key": "[parameters('telerikEncryptionKey')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]", | |
"Core DB Password": "[concat(toUpper(uniqueString('core', parameters('passwordSalt'))), uniqueString('core', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('core', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Web Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Sitecore Identity Authority": "[concat('https://', parameters('siWebAppHostName'))]", | |
"Experience Forms Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Experience Forms DB Password": "[concat(toUpper(uniqueString('forms', parameters('passwordSalt'))), uniqueString('forms', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('forms', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"IP Security Client IP": "0.0.0.0" | |
} | |
} | |
], | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CM/Sitecore 10.0.0 rev. 004346 (XM) (Cloud)_cm.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A51%3A28Z&se=2023-11-01T09%3A51%3A28Z&sr=b&sp=r&sig=KDzbdmxdV6VEgTbK%2BINU2s2NriwKW158O8SaAjgPato%3D", | |
"dbType": "SQL", | |
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"setParameters": { | |
"Experience Forms Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('formsSqlDatabaseUserName'), ';Password=', parameters('formsSqlDatabasePassword'), ';')]", | |
"Core Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('coreSqlDatabaseUserName'), ';Password=', parameters('coreSqlDatabasePassword'), ';')]", | |
"Web Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('webSqlDatabaseUserName'), ';Password=', parameters('webSqlDatabasePassword'), ';')]", | |
"Security DB Password": "[concat(toUpper(uniqueString('security', parameters('passwordSalt'))), uniqueString('security', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('security', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Master DB Password": "[concat(toUpper(uniqueString('master', parameters('passwordSalt'))), uniqueString('master', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('master', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Experience Forms DB User Name": "formsuser", | |
"Cloud Search Connection String": "[if(equals(variables('searchProvider'), 'Azure'), concat('serviceUrl=https://', variables('searchServiceNameTidy'), '.search.windows.net;apiVersion=', variables('searchRestApiVersion'), ';apiKey=', listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey), '')]", | |
"Use Application Insights": "[string(parameters('useApplicationInsights'))]", | |
"Master DB User Name": "masteruser", | |
"Master Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('masterSqlDatabaseUserName'), ';Password=', parameters('masterSqlDatabasePassword'), ';')]", | |
"Security Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('securitySqlDatabaseUserName'), ';Password=', parameters('securitySqlDatabasePassword'), ';')]", | |
"SOLR Connection String": "[parameters('solrConnectionString')]", | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Web DB User Name": "webuser", | |
"store Sitecore Counters In Application Insights": "[if(parameters('useApplicationInsights'), string(parameters('storeSitecoreCountersInApplicationInsights')), 'false')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Insights Role": "CM", | |
"License Xml": "[parameters('licenseXml')]", | |
"Web DB Password": "[concat(toUpper(uniqueString('web', parameters('passwordSalt'))), uniqueString('web', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('web', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Core DB User Name": "coreuser", | |
"Security Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Search Provider": "[variables('searchProvider')]", | |
"IP Security Client IP Mask": "0.0.0.0", | |
"Sitecore Admin New Password": "[parameters('sitecoreAdminPassword')]", | |
"Application Insights Instrumentation Key": "[if(parameters('useApplicationInsights'), reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy')), variables('appInsightsApiVersion')).InstrumentationKey, '')]", | |
"Sitecore Identity Secret": "[parameters('siClientSecret')]", | |
"Security DB User Name": "securityuser", | |
"Telerik Encryption Key": "[parameters('telerikEncryptionKey')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cm/staging')]", | |
"Core DB Password": "[concat(toUpper(uniqueString('core', parameters('passwordSalt'))), uniqueString('core', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('core', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"Web Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Sitecore Identity Authority": "[concat('https://', parameters('siWebAppHostName'))]", | |
"Experience Forms Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Experience Forms DB Password": "[concat(toUpper(uniqueString('forms', parameters('passwordSalt'))), uniqueString('forms', parameters('sqlServerPassword'), parameters('passwordSalt')), toUpper(uniqueString('forms', parameters('sitecoreAdminPassword'), parameters('passwordSalt'))), '4@')]", | |
"IP Security Client IP": "0.0.0.0" | |
}, | |
"mode": "Incremental" | |
}, | |
"apiVersion": "[variables('webApiVersion')]", | |
"type": "Microsoft.Web/sites/slots/extensions", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Web/sites/slots', 'resource-group-cm', 'staging')]" | |
] | |
}, | |
{ | |
"location": "[resourceGroup().location]", | |
"properties": { | |
"siteConfig": { | |
} | |
}, | |
"name": "resource-group-cd/staging", | |
"type": "Microsoft.Web/sites/slots", | |
"apiVersion": "[variables('webApiVersion')]" | |
}, | |
{ | |
"location": "[resourceGroup().location]", | |
"name": "resource-group-cd/staging/MSDeploy", | |
"properties": { | |
"addOnPackages": [ | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CD/Coveo for Sitecore 10.0 5.0.900.5.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A52%3A36Z&se=2023-10-25T12%3A52%3A36Z&sr=b&sp=r&sig=M%2FBQvoIlspc29NRrNpeyhbb8ukmf%2FllkHE%2BlITbMNQA%3D", | |
"setParameters": { | |
"Core Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('coreSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Master Admin Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('masterSqlDatabaseNameTidy'),';User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cd/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CD/Sitecore Experience Accelerator XM 10.0.0.3138 CD.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A52%3A38Z&se=2023-10-25T12%3A52%3A38Z&sr=b&sp=r&sig=s86xOk95kJPLPghEh0b1qOO4%2ByWtUR9kRE4TwBjKO4I%3D", | |
"setParameters": { | |
"Application Path": "[concat(parameters('deploymentId'), '-cd/staging')]", | |
"Solr Web Index Name": "sitecore_sxa_web_index", | |
"Solr Master Index Name": "sitecore_sxa_master_index" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CD/Sitecore JavaScript Services Server for Sitecore 10.0.0 XM 15.0.1 rev. 201112 CD.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A52%3A39Z&se=2023-10-25T12%3A52%3A39Z&sr=b&sp=r&sig=TCBx29lenc93315SAKF6EhTOqissH8CmIa6AwiTHaUA%3D", | |
"setParameters": { | |
"Application Path": "[concat(parameters('deploymentId'), '-cd/staging')]" | |
} | |
}, | |
{ | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CD/CD-website-files-wdp.zip?sv=1700-01-01&st=9999-12-31T00%3A52%3A41Z&se=2023-10-25T12%3A52%3A41Z&sr=b&sp=r&sig=ZFm6Nmr95%2Ftmsqid6ylwHhbHWaDADu6YKxXqn1ZGF%2FM%3D", | |
"setParameters": { | |
"License Xml": "[parameters('licenseXml')]", | |
"Application Insights Role": "CD", | |
"Cloud Search Connection String": "[if(equals(variables('searchProvider'), 'Azure'), concat('serviceUrl=https://', variables('searchServiceNameTidy'), '.search.windows.net;apiVersion=', variables('searchRestApiVersion'), ';apiKey=', listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey), '')]", | |
"Application Insights Instrumentation Key": "[if(parameters('useApplicationInsights'), reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy')), variables('appInsightsApiVersion')).InstrumentationKey, '')]", | |
"Sitecore Identity Authority": "[concat('https://', parameters('siWebAppHostName'))]", | |
"Search Provider": "[variables('searchProvider')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cd/staging')]", | |
"Redis Sessions": "[concat(variables('redisHostNameTidy'), ':', reference(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).sslPort, ',password=', listKeys(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).primaryKey, ',ssl=True,abortConnect=False')]", | |
"SOLR Connection String": "[parameters('solrConnectionString')]", | |
"Use Application Insights": "[string(parameters('useApplicationInsights'))]", | |
"Store Sitecore Counters In Application Insights": "[if(parameters('useApplicationInsights'), string(parameters('storeSitecoreCountersInApplicationInsights')), 'false')]", | |
"Security Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('securitySqlDatabaseUserName'), ';Password=', parameters('securitySqlDatabasePassword'), ';')]", | |
"Experience Forms Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('formsSqlDatabaseUserName'), ';Password=', parameters('formsSqlDatabasePassword'), ';')]", | |
"Web Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('webSqlDatabaseUserName'), ';Password=', parameters('webSqlDatabasePassword'), ';')]" | |
} | |
} | |
], | |
"packageUri": "https://somestorage.blob.core.windows.net/sitecoredeploy/CD/Sitecore 10.0.0 rev. 004346 (XM) (Cloud)_cd.scwdp.zip?sv=1700-01-01&st=9999-12-31T00%3A52%3A34Z&se=2023-11-01T09%3A52%3A34Z&sr=b&sp=r&sig=EXwK2uu%2FJoTh9XS%2Bzn%2BFYqEVCnwbRf6w5132lsqKrJA%3D", | |
"dbType": "SQL", | |
"connectionString": "[concat('Data Source=tcp:', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=master;User Id=', parameters('sqlServerLogin'), ';Password=', parameters('sqlServerPassword'), ';')]", | |
"setParameters": { | |
"License Xml": "[parameters('licenseXml')]", | |
"Application Insights Role": "CD", | |
"Cloud Search Connection String": "[if(equals(variables('searchProvider'), 'Azure'), concat('serviceUrl=https://', variables('searchServiceNameTidy'), '.search.windows.net;apiVersion=', variables('searchRestApiVersion'), ';apiKey=', listAdminKeys(resourceId('Microsoft.Search/searchServices', variables('searchServiceNameTidy')), variables('searchApiVersion')).primaryKey), '')]", | |
"Application Insights Instrumentation Key": "[if(parameters('useApplicationInsights'), reference(resourceId('Microsoft.Insights/Components', variables('appInsightsNameTidy')), variables('appInsightsApiVersion')).InstrumentationKey, '')]", | |
"Sitecore Identity Authority": "[concat('https://', parameters('siWebAppHostName'))]", | |
"Search Provider": "[variables('searchProvider')]", | |
"Application Path": "[concat(parameters('deploymentId'), '-cd/staging')]", | |
"Redis Sessions": "[concat(variables('redisHostNameTidy'), ':', reference(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).sslPort, ',password=', listKeys(resourceId('Microsoft.Cache/Redis', variables('redisCacheNameTidy')), variables('redisApiVersion')).primaryKey, ',ssl=True,abortConnect=False')]", | |
"SOLR Connection String": "[parameters('solrConnectionString')]", | |
"Use Application Insights": "[string(parameters('useApplicationInsights'))]", | |
"Store Sitecore Counters In Application Insights": "[if(parameters('useApplicationInsights'), string(parameters('storeSitecoreCountersInApplicationInsights')), 'false')]", | |
"Security Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('securitySqlDatabaseNameTidy'),';User Id=', parameters('securitySqlDatabaseUserName'), ';Password=', parameters('securitySqlDatabasePassword'), ';')]", | |
"Experience Forms Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('formsSqlDatabaseNameTidy'),';User Id=', parameters('formsSqlDatabaseUserName'), ';Password=', parameters('formsSqlDatabasePassword'), ';')]", | |
"Web Connection String": "[concat('Encrypt=True;TrustServerCertificate=False;Data Source=', variables('sqlServerFqdnTidy'), ',1433;Initial Catalog=',variables('webSqlDatabaseNameTidy'),';User Id=', parameters('webSqlDatabaseUserName'), ';Password=', parameters('webSqlDatabasePassword'), ';')]" | |
}, | |
"mode": "Incremental" | |
}, | |
"apiVersion": "[variables('webApiVersion')]", | |
"type": "Microsoft.Web/sites/slots/extensions", | |
"dependsOn": [ | |
"[resourceId('Microsoft.Web/sites/slots', 'resource-group-cd', 'staging')]" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment