From 741684843c3bababd9e038d452f48ace8339c78b Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Wed, 2 Nov 2022 02:08:41 +0100 Subject: [PATCH] terraform: fix azure password constraints --- .../terraform/terraform/azure/modules/scale_set/main.tf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cli/internal/terraform/terraform/azure/modules/scale_set/main.tf b/cli/internal/terraform/terraform/azure/modules/scale_set/main.tf index 566fe8fd4..2961ec219 100644 --- a/cli/internal/terraform/terraform/azure/modules/scale_set/main.tf +++ b/cli/internal/terraform/terraform/azure/modules/scale_set/main.tf @@ -12,7 +12,11 @@ terraform { } resource "random_password" "password" { - length = 16 + length = 16 + min_lower = 1 + min_upper = 1 + min_numeric = 1 + min_special = 1 } resource "azurerm_linux_virtual_machine_scale_set" "scale_set" {