Deploy-FinOpsHub.ps1 fails with error "template parameter 'enableInfrastructureEncryption' is not valid." #1300
Labels
Needs: Triage 🔍
Untriaged issue needs to be reviewed
Tool: FinOps hubs
Data pipeline solution
Tool: PowerShell
PowerShell scripts and automation
Type: Bug 🐛
Something isn't working
Milestone
🐛 Problem
Running the Deploy-FinOpsHub.ps1 script to create a FinOps Hub fails with the following error;
Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The provided value for the template parameter 'enableInfrastructureEncryption' is not valid. Expected a value of type 'Boolean', but received a value of type 'Object'. Please see https://aka.ms/arm-create-parameter-file for usage details.'.
👣 Repro steps
Deploy-FinOpsHub -Name finhubs-poc-eus2 -ResourceGroup rg-finops -Location eastus2
I have even tried explicitly passing the value for 'enableInfrastructureEncryption' parameter but get the same error, e.g.
Deploy-FinOpsHub -Name finhubs-poc-eus2 -ResourceGroup rg-finops -Location eastus2 -EnableInfrastructureEncryption $false -Version latest -StorageSku Premium_LRS
N.B. When specifying the 'enableInfrastructureEncryption' parameter, the other parameters are seemingly required as well to prevent validation errors occuring.
🤔 Expected
It completes without error.
ℹ️ Additional context
The script successfully:
The text was updated successfully, but these errors were encountered: