File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,9 @@ locals {
1414
1515 zone_id = module. dns_gbl_delegated . outputs . default_dns_zone_id
1616
17- # 1. If manage_admin_user_password is not null , AWS manages the password (admin_password must be null )
18- # 2. If admin_password is provided, that value is used (manage_admin_user_password must be null )
19- # 3. If both are null , the module creates a random password
17+ # 1. If manage_admin_user_password is true , AWS manages the password (admin_password must be empty )
18+ # 2. If admin_password is provided, that value is used (manage_admin_user_password must be false )
19+ # 3. If both are unset/false/empty , the module creates a random password
2020 create_password = local. enabled && var. admin_password == " " && var. manage_admin_user_password == null
2121 admin_password = local. create_password ? one (random_password. admin_password [* ]. result ) : var. admin_password
2222
You can’t perform that action at this time.
0 commit comments