Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy-FinOpsHub.ps1 fails with error "template parameter 'enableInfrastructureEncryption' is not valid." #1300

Open
philipstreet opened this issue Feb 6, 2025 · 0 comments
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

Comments

@philipstreet
Copy link

🐛 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

  1. Open PowerShell window
  2. Run command;

Deploy-FinOpsHub -Name finhubs-poc-eus2 -ResourceGroup rg-finops -Location eastus2

  1. See error

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:

  1. Creates the resource group
  2. Creates the temp folder
  3. Downloads the scripts into the temp folder
@philipstreet philipstreet added Needs: Triage 🔍 Untriaged issue needs to be reviewed Type: Bug 🐛 Something isn't working labels Feb 6, 2025
@flanakin flanakin added this to the 2025-03 - March milestone Feb 13, 2025
@flanakin flanakin added Tool: PowerShell PowerShell scripts and automation Tool: FinOps hubs Data pipeline solution labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

2 participants