Describe the bug
Creating non-PaaS sample environment with sql server is failing with following errror.
New-AzResourceGroupDeployment: /home/my/fhir-server-samples/deploy/scripts/Create-FhirServerSamplesEnvironment.ps1:197
Line |
197 | New-AzResourceGroupDeployment -TemplateUri $sandboxTemplate -environm …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| 8:27:26 PM - Error: Code=InvalidContentLink; Message=Unable to download deployment content from
| 'https://raw.githubusercontent.com/microsoft/fhir-server/master/samples/templates/default-azuredeploy-sql.json'. The tracking Id is
| 'a8e0163d-bb4c-4440-a604-21df446fe750'. Please see https://aka.ms/arm-deploy for usage details.
Doesn't look like the template is valid since it doesn't exist at that location. It looks like we are supposed to use same template for both cosmos/sql but pass different values for parameters.
Code snippet
https://github.com/microsoft/fhir-server-samples/blob/master/deploy/scripts/Create-FhirServerSamplesEnvironment.ps1#L153-L158
#Template URLs
$fhirServerTemplateUrl = "https://raw.githubusercontent.com/microsoft/fhir-server/master/samples/templates/default-azuredeploy.json"
if ($PersistenceProvider -eq 'sql')
{
$fhirServerTemplateUrl = "https://raw.githubusercontent.com/microsoft/fhir-server/master/samples/templates/default-azuredeploy-sql.json"
}
- What is your PowerShell version?
Name Value
---- -----
PSVersion 7.1.1
PSEdition Core
GitCommitId 7.1.1
OS Linux 4.15.0-1108-azure #120~16.04.1-Ubuntu SMP Thu Feb 11 07:47:15 UTC 2021
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
- What is your Az version?
5.5.0
To Reproduce
Steps to reproduce the behavior, including exact commands you are running:
cd fhir-server-samples/deploy/scripts
$AdminPassword = ConvertTo-SecureString ****** -AsPlainText -Force
$SqlAdminPassword = ConvertTo-SecureString ****** -AsPlainText -Force
.\Create-FhirServerSamplesEnvironment.ps1 -EnvironmentName fhir-sql -UsePaaS $false -EnableExport $true -AdminPassword $AdminPassword -PersistenceProvider sql -SqlAdminPassword $SqlAdminPassword
Expected behavior
Sample environment should be created
Desktop (please complete the following information):
CloudShell
Describe the bug
Creating non-PaaS sample environment with sql server is failing with following errror.
Doesn't look like the template is valid since it doesn't exist at that location. It looks like we are supposed to use same template for both cosmos/sql but pass different values for parameters.
Code snippet
https://github.com/microsoft/fhir-server-samples/blob/master/deploy/scripts/Create-FhirServerSamplesEnvironment.ps1#L153-L158
5.5.0
To Reproduce
Steps to reproduce the behavior, including exact commands you are running:
Expected behavior
Sample environment should be created
Desktop (please complete the following information):
CloudShell