We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce573b9 commit 2a5a796Copy full SHA for 2a5a796
examples/templates/azure-windows/main.tf
@@ -65,9 +65,9 @@ resource "random_password" "admin_password" {
65
length = 16
66
special = true
67
# https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/password-must-meet-complexity-requirements#reference
68
- # we remove characters that require special handling in XML, as this is how we pass it to the VM
69
- # namely: <>&'"
70
- override_special = "~!@#$%^*_-+=`|\\(){}[]:;,.?/"
+ # we remove characters that require special handling in XML, as this is how we pass it to the VM; we also remove the powershell escape character
+ # namely: <>&'`"
+ override_special = "~!@#$%^*_-+=|\\(){}[]:;,.?/"
71
}
72
73
locals {
0 commit comments