File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ resource "azurerm_key_vault" "main" {
144144
145145resource "random_password" "passwd" {
146146 for_each = { for k , v in var . secrets : k => v if v == " " }
147- length = 24
147+ length = var . random_password_length
148148 min_upper = 4
149149 min_lower = 2
150150 min_numeric = 4
Original file line number Diff line number Diff line change @@ -60,6 +60,11 @@ variable "secrets" {
6060 default = {}
6161}
6262
63+ variable "random_password_length" {
64+ description = " The desired length of random password created by this module"
65+ default = 24
66+ }
67+
6368variable "log_analytics_workspace_id" {
6469 description = " Specifies the ID of a Log Analytics Workspace where Diagnostics Data to be sent"
6570 default = null
You can’t perform that action at this time.
0 commit comments