Skip to content

fix: remove backtick from valid password characters #15756

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

Merged
merged 1 commit into from
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions examples/templates/azure-windows/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ resource "random_password" "admin_password" {
length = 16
special = true
# https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/password-must-meet-complexity-requirements#reference
# we remove characters that require special handling in XML, as this is how we pass it to the VM
# namely: <>&'"
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 = "~!@#$%^*_-+=|\\(){}[]:;,.?/"
}

locals {
Expand Down
Loading