Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
fix: Exclude unsupported special characters from passwords (#141)
Browse files Browse the repository at this point in the history
The `random_password` will now exclude `_%@` characters when generating passwords

Co-authored-by: Pawel Imielowski <[email protected]>
Co-authored-by: Pawel Imielowski <[email protected]>
  • Loading branch information
3 people authored Feb 9, 2022
1 parent 5934988 commit 4b60487
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/panorama/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ resource "random_password" "this" {
min_numeric = 1
min_special = 1
min_upper = 1
special = true
override_special = "_%@"
}

Expand Down
1 change: 1 addition & 0 deletions examples/transit_vnet_common/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "random_password" "this" {
min_numeric = 1
min_special = 1
min_upper = 1
special = true
override_special = "_%@"
}

Expand Down
1 change: 1 addition & 0 deletions examples/transit_vnet_dedicated/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "random_password" "this" {
min_numeric = 1
min_special = 1
min_upper = 1
special = true
override_special = "_%@"
}

Expand Down
1 change: 1 addition & 0 deletions examples/vmseries/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "random_password" "this" {
min_numeric = 1
min_special = 1
min_upper = 1
special = true
override_special = "_%@"
}

Expand Down
1 change: 1 addition & 0 deletions examples/vmseries_scaleset/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ resource "random_password" "this" {
min_numeric = 1
min_special = 1
min_upper = 1
special = true
override_special = "_%@"
}

Expand Down

0 comments on commit 4b60487

Please sign in to comment.